download_attachment
Retrieve a specific email attachment by account, email ID, and filename. Get base64-encoded content for files up to 5MB.
Instructions
Download an email attachment by filename. First use get_email to see available attachments and their filenames. Returns base64-encoded content for files ≤5MB.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Email ID (UID) from list_emails or get_email | |
| account | Yes | Account name from list_accounts | |
| mailbox | No | Mailbox containing the email | INBOX |
| filename | Yes | Exact attachment filename (from get_email metadata) |