save_attachment
Save a specific attachment from an Apple Mail message to a local folder. Provide the message ID, mailbox, account, and attachment name, and optionally set the destination directory.
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 |