zoho_download_attachment
Download a Zoho Mail email attachment to your local disk using folder, message, and attachment IDs, then get the saved file path.
Instructions
Download an email attachment to the local disk and return the saved path. Get attachmentId and the name from zoho_get_attachment_info.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| saveTo | No | Full destination path. Default: ~/Downloads/zoho-mail-attachments/<fileName> | |
| fileName | Yes | File name to save as (the attachmentName) | |
| folderId | Yes | Folder ID (from zoho_list_folders). Pass as a string — Zoho IDs are 64-bit and lose precision as JSON numbers. | |
| messageId | Yes | Message ID (from zoho_list_emails / zoho_search_emails). Pass as a string — Zoho IDs are 64-bit and lose precision as JSON numbers. | |
| attachmentId | Yes | Attachment ID. Pass as a string — Zoho IDs are 64-bit and lose precision as JSON numbers. |