list_attachments
List all file attachments in an email with their IDs, filenames, MIME types, and sizes.
Instructions
List all file attachments in an email with their IDs, filenames,
MIME types, and sizes.
Required:
message_id (str) — Gmail message ID from list_emails.
Returns on success:
{"attachments": [
{"id": "...", "filename": "report.pdf",
"mime_type": "application/pdf", "size": 204800}
]}
Workflow note: The attachment "id" field is a Gmail attachment ID —
pass it to download_attachment along with the message_id and
a save_path to download the file. Returns empty list if the
email has no attachments.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message_id | Yes |