save_attachment
Save a specific email attachment to a chosen directory by supplying message ID, mailbox, account, and attachment name. Resolves locating and downloading attachments from Apple Mail.
Instructions
Save a specific attachment from a message to disk.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| savePath | No | The directory path to save the attachment to (default ~/Downloads) | ~/Downloads |
| messageId | Yes | The numeric ID of the message | |
| accountName | Yes | The name of the account containing the mailbox | |
| mailboxName | Yes | The name of the mailbox containing the message | |
| attachmentName | Yes | The name of the attachment to save |