Read a whole conversation
read_threadRead an entire email conversation in ONE call, oldest message first, given any one message in it. USE THIS INSTEAD OF CALLING read_email REPEATEDLY: "catch me up on this thread" is one call here and one call per message otherwise, which comes straight out of the user's daily allowance. Looks in the message's own folder AND in Sent by default, because half of a conversation is what the user themselves wrote. Reading does NOT mark anything as read. Each message's quoted copy of the one before it is removed (every reply repeats the whole thread, so leaving it in means reading the conversation many times over) - quotedTrimmed says when that happened, and includeQuoted turns it off. Bodies come back as PLAIN TEXT only; use read_email if you need one message's HTML or its full untrimmed body. Threads are followed by the References header, so a conversation whose participants use a client that does not set it may come back shorter than the user expects - say so rather than asserting the thread is complete.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | Yes | The UID of ANY message in the conversation, from list_emails or search_emails. | |
| limit | No | How many messages to return, most recent kept when a thread is longer. Defaults to 20. | |
| mailbox | No | The folder that message is in. Defaults to INBOX. | |
| mailboxes | No | Folders to look in. Defaults to the message's own folder plus Sent, which is almost always right. Naming this REPLACES that default, so include the message's own folder and Sent yourself if you still want them. | |
| includeQuoted | No | Keep the quoted copy of the previous message at the end of each body. Defaults to false. Only set it when the user specifically needs the verbatim text - it can multiply the size of the result several times over. |