email_get_attachment
Retrieve an email attachment by its ID from your connected mailbox to obtain the file as base64-encoded data, enabling programmatic access and download of email files.
Instructions
Get an email attachment by ID, returns base64 encoded data
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": {
"accountId": "<accountId>",
"emailId": "<emailId>",
"attachmentId": "<attachmentId>"
},
"name": "email_get_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| emailId | Yes | ||
| accountId | Yes | ||
| attachmentId | Yes |