fetch_email_attachment
Download email attachments from IMAP accounts using email and attachment identifiers. Retrieve files with filename, type, size, and base64 content for processing.
Instructions
Download a specific attachment from an email. Requires the email id and the attachment id (obtained from fetch_email_content). Returns {id, filename, contentType, size, contentBase64} where contentBase64 is the base64-encoded file content.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The email identifier from list results. | |
| attachment_id | Yes | The attachment identifier from fetch_email_content results. | |
| mailbox | No | Optional folder hint for faster lookup. If omitted, searches all folders. |