get_attachment_content
Retrieve an email attachment's binary content directly through MCP, avoiding local file writes. Specify account, email ID, and attachment name to access the file in transfer mode.
Instructions
Read one email attachment as an MCP embedded binary resource without writing a local file. This independent transfer mode requires enable_attachment_content=true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mailbox | No | The mailbox containing the email. | INBOX |
| email_id | Yes | The email ID obtained from list_emails_metadata or get_emails_content. | |
| account_name | Yes | The name of the email account. | |
| attachment_name | Yes | The attachment filename shown in the message's attachments list. |