download_attachments
Retrieve attachments from an Exchange email and save them to a local directory. Provide the email ID and optional target folder.
Instructions
Download all file attachments from an email to disk.
Args: item_id: The Exchange ItemId of the email to download attachments from. target_folder: Local directory to save files (default /tmp/attachments).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item_id | Yes | ||
| target_folder | No | /tmp/attachments |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |