Duplicate Email Notifications when using ZeptoMail SMTP in Frappe

I’ve integrated ZeptoMail SMTP with Frappe for sending email notifications.
The configuration works — emails are delivered successfully — but I’m facing an issue where duplicate emails are sent for the same notification.


details:

  • I have a Notification set up for the Lead doctype that sends an email to all users with the System Manager role whenever a new Lead is created.

  • Here’s the issue I’m facing:

    • If there are 4 users with the “System Manager” role, each user receives 4 duplicate emails.

    • When I add a 5th user, each of them receives 5 duplicate copies of the same notification.

    • In Frappe’s Email Queue, only one email record is created per event.

    • However, in ZeptoMail’s transaction logs, I can see multiple identical deliveries (4 copies) of the same message, only seconds apart.

    • When I switch the outgoing server to Zoho SMTP (smtp.zoho.com) using the same configuration and notification setup, the issue disappears completely — no duplicate emails are sent.

    So this duplication only occurs when using ZeptoMail SMTP (smtp.zeptomail.com).

Expected Behavior:
Each recipient should receive one email per notification event, regardless of the SMTP provider.

Note:
This domain is configured as outgoing-only (no incoming mail for noreply@example.com).
To bypass Frappe’s mandatory “Incoming Server” field for Email Domain, I temporarily entered
imap.zoho.com while keeping the outgoing server as smtp.zeptomail.com.

The Email Queue has the subject and recipients as expected?

If so, maybe its an issue at your provider’s end, since Zoho worked fine.

Yes, that’s correct.
As I mentioned, in Frappe’s Email Queue, only one email record is created per event, so everything is working as expected on that end. The issue, however, lies with ZeptoMail.

Yes, that’s correct.
As I mentioned, in Frappe’s Email Queue, only one email record is created per event, so everything is working as expected on that end. The issue, however, lies with ZeptoMail.