list_threads
Groups emails using the same subject into ordered threads with participant lists and message counts. Sort by most recent activity per folder, with pagination and configurable page size.
Instructions
List email threads (conversations) in a folder. Groups related emails by subject line. Returns threads sorted by most recent activity, with participant list and message count.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_threads"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number for pagination | |
| folder | No | Folder name (default: INBOX) | |
| account | No | Account name (uses default if omitted) | |
| page_size | No | Number of emails to fetch for grouping (default: 50) |