Count email conversations
count_conversationsUse this when the user asks how many email conversations there are, such as how many are unread. Returns the number of email conversations in each folder (inbox, sent, unread, favorite, archived, spam and trash), for every mailbox or the ones named. Email only. Free.
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": "count_conversations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folders | No | The folders to count, separated by commas: `inbox`, `sent`, `unread`, `favorite`, `archived`, `spam`, `trash`. All of them when left out. | |
| mailbox | No | Only these mailboxes: one address, or up to 20 separated by commas. |