Unread mail counts
mail_unreadGet unread email counts for all inboxes or a specific mailbox and account, with paging support for large results.
Instructions
Unread counts for every inbox (default), or for one mailbox, optionally one account. Large results come in parts (see paging and cursor).
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": "mail_unread"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cursor | No | Leave out at first. When a result has paging.has_more, repeat the call with the same arguments plus cursor set to paging.cursor to get the next part. | |
| account | No | Account name or address. | |
| mailbox | No |