Read an email thread
get_threadReads the whole conversation (thread) a message belongs to, oldest first, including the replies sent by the user, with QUOTED TEXT REMOVED so each message shows only what it adds. Returns at most the 20 most recent messages. Does not mark anything as read.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"accountId": "<accountId>",
"uid": "<uid>"
},
"name": "get_thread"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | Yes | IMAP UID of the message, as returned by search and listing tools. | |
| folder | No | IMAP folder containing the message. Defaults to INBOX. | INBOX |
| accountId | Yes | Account id, as returned by list_accounts. |