Comfy-UI on-complete-email-me
A feature that sends an email via Gmail once image generation is completed in Comfy-ui.
ComfyUI – On Complete Notifications
한국어 | English
Get notified the moment your ComfyUI generation finishes — by email, sound, or webhook.
Long renders, queued batches, or overnight jobs: stop refreshing the tab. Drop one node at the end of your workflow and ComfyUI will tell you when it's done.
✨ Nodes Included
| Node | What it does | |------|--------------| | OnCompleteEmailMe | Sends a Gmail when generation finishes. Attaches the last generated image. | | OnCompletePlaySound | Plays a sound notification on completion. | | OnCompleteWebhook | Fires an HTTP webhook so you can integrate with Discord, Slack, n8n, IFTTT, your own server, etc. |
📦 Installation
Option A — ComfyUI Manager (recommended)
- Open ComfyUI Manager
- Click Install via Git URL
- Paste:
https://github.com/bobddadoo/comfy-ui-on-complete-email-me - Restart ComfyUI

Option B — Manual
cd ComfyUI/custom_nodes
git clone https://github.com/bobddadoo/comfy-ui-on-complete-email-me
Then restart ComfyUI.
🚀 Usage
OnCompleteEmailMe

sender_email— your Gmail address.sender_password— a Gmail App Password (not your account password). Create one at Google App Passwords.recipient_emails— list of recipients (one per line, separated by Enter).message— body text for the email.
The last generated image is attached automatically.

OnCompleteWebhook
- Add the OnCompleteWebhook node at the end of your workflow.
- Set
webhook_urlto your endpoint (Discord webhook, Slack incoming webhook, your own server, …). - Run the workflow — the node fires once generation completes.
OnCompletePlaySound
Add the node at the end of your workflow to play a sound when the run finishes.
❓ FAQ
Q. I entered the app password but emails aren't sending.
The error usually looks like:
Failed to send email: 'ascii' codec can't encode character '\xa0' in position 25: ordinal not in range
This means a non-breaking space (\xa0) snuck into the app password when you pasted it. Re-type the app password manually (no copy/paste) or carefully strip the spaces, and try again.
🗓️ Changelog
2025-01-15
- 📎 Attach the last generated image to the email.
- 🔊 Added OnCompletePlaySound node.
💛 Support this project
If these nodes saved you from babysitting renders, consider sponsoring — it directly funds more ComfyUI tooling.
- ❤️ GitHub Sponsors
- ☕ Ko-fi
Even a one-time coffee helps. Thanks 🙏
📄 License
Licensed under GPL-3.0. See LICENSE.txt for details.