message.raw.attachments. Each attachment includes the filename, MIME type, and a URL to download the content.
Attachment shape
| Field | Type | Description |
|---|---|---|
filename | string | Original filename (e.g., invoice.pdf) |
contentType | string | MIME type (e.g., application/pdf) |
url | string | Optional download URL for the attachment content |
Detecting and processing attachments
Try it yourself
Attachments Example
Detects attachments and replies with a summary