download_attachment
Download a specific attachment from an email by message ID and filename, saving it to a temporary directory and returning the file path.
Instructions
Download an email attachment to a temporary directory. Downloads all attachments, then returns the path to the requested file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Email message ID | |
| folder | No | Folder name (default: INBOX) | |
| account | No | Account name (uses default if omitted) | |
| filename | Yes | Attachment filename to download |