gmail_bulk_save_attachments
Download attachments from multiple Gmail messages to a local folder, returning a manifest of saved files. Uses readonly access.
Instructions
Download all attachments from one or more Gmail messages to a local directory. Returns a manifest of saved files. Requires readonly scope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| accountId | Yes | The Google account ID, alias, or email | |
| outputDir | Yes | Local directory path to save attachments to (will be created if needed) | |
| messageIds | Yes | Array of message IDs to download attachments from | |
| filenamePrefix | No | Optional prefix for filenames. If not set, files use their original names with message ID prefix to avoid collisions. |