MuleSoft · Email Connector

EMAIL:READ_EMAIL

Short answer

EMAIL:READ_EMAIL means an error occurred while reading the content of an email. Use the JavaMail debug output to find the message that fails, and check the Jakarta Mail MIME properties if the message is malformed.

VerifiedLast verified

01Error text

MuleSoft error
Error type: EMAIL:READ_EMAIL

02Likely causes

  • An error occurred during an attempt to read the email content.

03How to fix it

  1. Identify the message that fails to parse.
  2. If the message has non-standard MIME, review the Jakarta Mail system properties the docs list, such as mail.mime.decodetext.strict and mail.mime.multipart.ignoremissingendboundary. They are set globally as system properties.
  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:READ_EMAIL.

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.