gmail_download_attachment
Download an email attachment to a sandboxed quarantine directory, returning its local path, SHA-256 hash, and image flag.
Instructions
Download an email attachment to a sandboxed quarantine directory. Returns local path, SHA-256 hash, and image flag.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | Email or alias (uses active account if omitted) | |
| filename | Yes | Original filename of the attachment | |
| mime_type | No | MIME type (defaults to application/octet-stream) | |
| message_id | Yes | Gmail message ID containing the attachment | |
| attachment_id | Yes | Attachment ID from gmail_read_message response |