gmail_get_attachment
Download an attachment from a Gmail message using its attachment ID obtained from reading the message.
Instructions
Download an attachment from a Gmail message. Use gmail_read first to get the attachmentId from the attachments list.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | The Gmail address the email belongs to. | ||
| filename | No | The filename of the attachment (from gmail_read attachments list, optional but helpful). | |
| messageId | Yes | The Gmail message ID containing the attachment (id field from gmail_search or gmail_read). | |
| attachmentId | Yes | The attachment ID from the attachments array in gmail_read output. |