get_email_attachments
Extract email attachments by downloading them from IMAP mailboxes. Use this tool to retrieve files from specific emails in Gmail, Outlook, or other email services.
Instructions
Extract attachments from an email by downloading them over IMAP. Requires a reachable mailbox and may incur network latency.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"email_id": "<email_id>"
},
"name": "get_email_attachments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| email_id | Yes | Email ID to get attachments from | |
| folder | No | Email folder | INBOX |
| account_id | No | Specific account ID |