get_attachment
Download an email attachment to the configured download directory using the message handle and attachment part ID, then receive the saved file path without altering the mailbox.
Instructions
Download one attachment into the configured download directory.
Returns the path it was saved to. Files are only ever written inside that one directory; the mailbox itself is not modified.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| handle | Yes | A handle from list_messages or search_messages. | |
| account | No | Account name. Optional when only one is configured. | |
| part_id | Yes | The `part_id` from read_message's attachments. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |