IMAP (AI) icon

IMAP (AI)

Read, search, move, flag and download emails from any IMAP server. Fully usable as a tool from AI Agent nodes.

Download → Download EML

AI-generated

Summary

Download the full raw email message identified by its UID from a specified IMAP mailbox folder as a single .eml file in binary form.

Inputs

  • Mailbox / Folder (required) — IMAP folder path where the email resides, e.g., INBOX, Sent, or [Gmail]/All Mail.
  • UID (required) — The unique message identifier (UID) of the email within the mailbox folder. This is used to locate the exact message to download.

Output shape

a single item containing JSON metadata about the email (UID, subject, filename, size) and one binary property holding the complete raw RFC822 email data as .eml format

Throws an error if no message with the specified UID exists in the given mailbox. The filename is derived from the email subject, sanitized for safe filenames, and capped to 80 characters. The binary data has MIME type 'message/rfc822'.

Links

Discussion