Get email
get_emailRetrieve a single email message by its UID. Choose full content or headers, and optionally download attachments to a temporary directory.
Instructions
Read one message by uid. format=full returns text/html bodies; format=headers returns only headers. include_attachments=true saves attachments to a private temp dir and returns their paths.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | Yes | Message uid as returned by list_emails / search_emails (IMAP UID, or POP3 UIDL) | |
| folder | No | Mailbox folder (IMAP). POP3 only supports INBOX. | INBOX |
| format | No | full | |
| include_attachments | No |