read_email
Fetch full email headers and body for a given message UID. Optionally embed attachments as base64 links.
Instructions
Fetch full headers + body of a message. Attachments listed by name+mime.
Set include_attachments=true to also embed each attachment as base64
(respects the size limit; large attachments may push you over context).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | Yes | Message UID (from list_recent/search). | |
| folder | No | INBOX | |
| account | No | ||
| include_attachments | No | If true, embed attachments as base64. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | ||
| to | Yes | ||
| uid | Yes | ||
| date | No | ||
| from | Yes | ||
| subject | Yes | ||
| body_html | Yes | ||
| body_text | Yes | ||
| attachments | Yes |