Get email attachment
google_gmail_get_attachmentDownload a Gmail attachment by message ID and attachment ID. Text files are returned as text, binary files as base64.
Instructions
Download a single attachment by message ID and attachment ID. Text-like files are returned decoded as text; binary files as base64.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Message ID. | |
| partId | No | Stable part ID (from list_attachments); preferred over attachmentId for lookup. | |
| account | No | Account nickname to use. | |
| attachmentId | Yes | Attachment ID (from list_attachments). |