download_attachment
Download an email attachment to a temporary directory and retrieve the saved file path. Specify the message ID and attachment filename to get the local file location.
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 |