List Inboxes
inbox_listList every inbox (mailbox or account) this API key may use. It returns the inbox_id the other tools take. Each entry carries the UUID, email address, display name, provider (the connector: gmail/outlook/fastmail/imap), optional service brand (the account behind an IMAP connection: gmail/fastmail/icloud/yahoo/zoho/yandex/generic) and a capabilities object. A Gmail account connected with an app password has provider 'imap' and service 'gmail', so service, not provider, is a mailbox's brand.
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": "inbox_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inbox | No | Return only this inbox: its email address or inbox_id. | |
| service | No | Return only inboxes whose account BRAND is this. Set on inboxes reached over plain IMAP; null for a first-party connector, so service 'gmail' means Gmail-over-app-password and provider 'gmail' means Gmail-over-Google-API. Omit for all of them. | |
| provider | No | Return only inboxes reached through this CONNECTOR. Not the brand of the address: a Gmail mailbox connected over IMAP is provider 'imap'. Use `service` for the brand. Omit for all of them. | |
| include_capabilities | No | Include each inbox's capabilities object. Set false for a compact list of inbox_id, email address, display name, provider and brand. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | Server notes about how this call was handled — for example an argument that was not applied because the selected action does not accept it. Written by MCPEmails, not taken from any message, and absent when there is nothing to report. | |
| filter | No | The provider/service/inbox filter that was applied. | |
| inboxes | Yes | ||
| matched | No | Present only on a filtered call that matched nothing. Always 0; its presence is what distinguishes an unmatched filter from an empty account, which carries setup_required instead. | |
| message | No | What happened, when `inboxes` is empty: either that no mailbox is connected yet, or that the filter matched none of the ones that are. | |
| available | No | Every inbox this key can reach, on a filtered call that matched none of them, so the filter can be corrected without a second call. | |
| setup_url | No | Where the user connects their first mailbox. | |
| setup_required | No | Present and true ONLY when this key can reach no mailbox at all. Never set by a filter that matched nothing — see `matched`. |