imap_mailbox_status
Retrieve total, unseen, and recent message counts for a specified mailbox without selecting it, so you can check status before opening or modifying the mailbox.
Instructions
Get mailbox message counts (total, unseen, recent) without selecting it
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": {
"mailbox": "<mailbox>"
},
"name": "imap_mailbox_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mailbox | Yes | Mailbox name to check status of | |
| account_id | No | Account identifier (defaults to `"default"`) | default |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Tool-specific data payload | |
| meta | Yes | Execution metadata (timestamp, duration) | |
| summary | Yes | Human-readable summary of the operation outcome |