attachment_download
Download email attachments from a specific message to your current directory using envelope ID, with options for folder and account selection.
Instructions
Download all attachments from a message.
Attachments are saved to the current working directory.
Args: envelope_id: The envelope/message ID. folder: Folder name. Defaults to INBOX. account: Account name. If omitted, uses the default account.
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": {
"envelope_id": "<envelope_id>"
},
"name": "attachment_download"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| envelope_id | Yes | ||
| folder | No | ||
| account | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |