attachment
List or download email files by message ID. Set an output directory to save them, or omit to see available files.
Instructions
List or download attachments from an email. Lists attachments if no output directory is set; downloads to directory if output is set.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Message ID of the email | |
| output_dir | No | Directory path to download attachments to (omit to just list attachments) |