Actions13
Email → Download as EML
AI-generatedSummary
Download an email by UID from a selected mailbox as an EML message. Choose binary output (the default) or include the EML content as text in the JSON output.
Inputs
- Credential Type (required) — Choose this node’s IMAP credentials or credentials from an n8n IMAP Trigger node.
- Mailbox (required) — Select a mailbox or enter its full path; defaults to INBOX.
- Email UID — UID of the email to download.
- Output to Binary Data — Defaults to true. When enabled, stores the message as binary data.
- Put Output File in Field (required) — Binary field name for the downloaded EML file; shown when binary output is enabled and defaults to data.
Output shape
A single n8n item for the requested email.
The JSON includes the email UID. With binary output enabled, the EML file is placed in the configured binary field and named from the mailbox path and UID with an .eml extension. With binary output disabled, JSON includes the full EML source as emlContent. The mailbox is opened read-only; a missing email causes an error.