download_attachment
Download an email attachment by its part index from get_email. Optionally set a save path to write the file instead of returning base64.
Instructions
Download an attachment by part_index from get_email.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | Yes | IMAP UID | |
| folder | No | IMAP folder | INBOX |
| save_path | No | If set, write file here instead of returning base64 | |
| part_index | Yes | Attachment index from get_email |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |