hey_read_email
Retrieve full content of an email thread with all messages, attachments, and calendar invites. Supports HTML or plain text output.
Instructions
Read an email thread's full content. Returns all messages in the thread via entries[] array (each with entryId, from, to, cc, date, body). Also returns attachments[] metadata and calendar_invites[] when present — use hey_download_attachment to save files to disk, or hey_get_calendar_invite to parse .ics details. Use format='html' (default) for rich content with thread entries, or format='text' for decoded RFC822 plain text of the first message.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The topic/thread ID or entry ID to read (use topicId from list operations for full threads) | |
| format | No | html (default): rich HTML with all thread entries. text: decoded plain text of the first message only | |
| force_refresh | No | Bypass cache and fetch fresh data (default: false) |