MuleSoft · Email Connector

EMAIL:EMAIL_NOT_FOUND

Short answer

EMAIL:EMAIL_NOT_FOUND means the email identified by emailId cannot be found in the mailbox folder. Check the ID and the folder, since the email may have been moved or deleted.

VerifiedLast verified

01Error text

MuleSoft error
Error type: EMAIL:EMAIL_NOT_FOUND

02Likely causes

  • The email identified by emailId cannot be found in a mailbox folder.

03How to fix it

  1. Log the emailId and the folder the failing operation uses.
  2. Confirm the email is still in that folder.
  3. Turn on connector logging: in log4j2.xml add <AsyncLogger name="org.mule.extension.email" level="DEBUG" />.
  4. For protocol detail, add <email:property key="mail.debug" value="true" /> to the IMAP or SMTP connection element.
  5. Handle the failure with an error handler of type EMAIL:EMAIL_NOT_FOUND.

04Official documentation

Test every fix in a non-production environment before you apply it to production. See how entries are verified.

More for MuleSoft work:Open MuleSoft jobsMuleSoft rates and salariesHire a senior MuleSoft developer

The iPaaS Brief

Subscribe to The iPaaS Brief.

The iPaaS newsletter for the people who run integrations. From iPaaS Group.

Free. You finish on theipaasbrief.com and confirm by email.