get_email_thread
Retrieve an email conversation thread by searching for a subject keyword in a specified mailbox, returning all related messages sorted by date.
Instructions
Get an email conversation thread - all messages with the same or similar subject.
Args: account: Account name (e.g., "Gmail", "Work") subject_keyword: Keyword to identify the thread (e.g., "Re: Project Update") mailbox: Mailbox to search in (default: "INBOX", use "All" for all mailboxes) max_messages: Maximum number of thread messages to return (default: 50)
Returns: Formatted thread view with all related messages sorted by date
User Preferences: {"workflow": "default", "notifications": "enabled"}
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": {
"account": "<account>",
"subject_keyword": "<subject_keyword>"
},
"name": "get_email_thread"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | Yes | ||
| mailbox | No | INBOX | |
| max_messages | No | ||
| subject_keyword | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |