mail_thread
Read a complete email thread oldest-first by ID, including sent messages and deduplicated entries, so you can review the conversation and choose which messages to open next.
Instructions
Every message in the conversation containing id, oldest-first — the transcript,
including messages YOU sent. Deduped: a message filed in several mailboxes appears
once. Returns {results, truncated?} of citable Pointers. Over limit messages the
OLDEST are dropped (and truncated says so), since a thread is usually read to
reply to it. Unknown id returns no results.
snippets=True adds a short snippet (first ~200 chars of the body) to each
pointer, read off disk in one pass — no Mail launch and no extra calls. Use it to
see WHO SPOKE LAST and roughly about what before deciding which messages are worth
hydrating; then mail_bodies(ids) for the few that are. A message whose body can't
be read carries no snippet key at all (absent, not empty). Leave it off for a
long thread you only need to enumerate.
Fast, read-only, no Mail launch. Needs Full Disk Access.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| limit | No | ||
| snippets | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||