gmail_add_attachment
Attach a file to an existing Gmail draft using base64 data. Returns the draft's full attachment list while preserving body, subject, and recipients.
Instructions
Attach one file to an existing Gmail draft and return the draft's full attachment list (each with attachment_id, filename, mime_type, size_bytes). Only the attachments change - body, subject, and recipients are preserved exactly. Pass the file as 'attachment' (filename + mime_type + base64 data_base64).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | No | ||
| draft_id | Yes | ||
| attachment | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| draft_id | Yes | ||
| attachments | No |