High Priority E-mails Missing from ERPNext

We are experiencing a critical issue with the Email Communication feature in ERPNext. Recently, we discovered that e-mails sent to our ERPNext managed inbox are only partially being imported into the system. Some mails are not imported.

The Issue:

  • We were alerted by external parties asking why their e-mails went unanswered. But we never got those mentioned mails.

  • Upon checking our external Webmail inbox, the messages were present, but were missing from the same inbox within ERPNext

Through investigation, we determined that all incoming e-mails marked with the Priority “High” specifically those containing these header lines:

X-Priority: 1 (Highest)
X-MSMail-Priority: High

are not being imported into ERPNext. They do not appear in the Communication.

Technical Environment Details:

  • ERPNext Version: v15.78.0 (version-15)

  • Affected Feature: Email Communication / Mail Importer.

  • Affected Messages: Only e-mails with High Priority.

  • Email Protocol Used: IMAP

Troubleshooting Steps Taken:

  • Confirmed messages exist in the external Webmail client.

  • Searched ERPNext GitHub and forums for related bug reports, but found no similar issue.

Has anyone encountered this specific failure where the mail importer seems to be silently skipping high-priority e-mails? Any insight or potential solution for this critical data loss issue would be highly appreciated.

Thank you,
David

We found out that all E-Mails with header containing “X-Priority” were not fetched from the mail server. Workaround: We created a filter at our mailbox provider and forwarded all Mails containing the Header to a personal e-mail address.

Oof, that’s a pretty nasty bug. It’d be worth posting an issue, I think.