Actions12
- Mailbox Actions
- Email Actions
Email → Download Attachment
AI-generatedSummary
Download email attachments from a specified mailbox and email UID using IMAP credentials. Supports downloading all attachments or selected attachments by their part IDs, with optional inclusion of inline attachments.
Inputs
- Credential Type (required) — Select whether to use credentials from this node's IMAP account or existing credentials from an N8N IMAP Trigger node.
- Mailbox (required) — Specify the mailbox path from which to download attachments, either by selecting from a list or entering the full mailbox path.
- Email UID (required) — Specify the UID of the email containing the attachments to download.
- All Attachments (required) — Boolean flag to choose whether to download all attachments from the email.
- Attachment Part IDs — Comma-separated list of attachment part IDs to download if not downloading all attachments. Required if All Attachments is false. Part IDs can be found in the email's "attachmentsInfo" property.
- Include Inline Attachments — If downloading all attachments, optionally include inline attachments such as images embedded in the HTML body.
Output shape
a list of downloaded attachment files, each with associated metadata
If downloading specific attachments, ensure Part IDs are correct; downloading inline attachments is available only when downloading all attachments. Errors in connection or retrieval will be raised as node errors.