imap_mailboxes
List IMAP folders for a configured account to find mailboxes for browsing or searching. Use the account key from your apple-mail-mcp config, not the name shown in Mail.app.
Instructions
List IMAP folders for a configured account.
account is a key under "accounts" in ~/.config/apple-mail-mcp/config.json,
not necessarily the name Mail.app shows.
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": {
"account": "<account>"
},
"name": "imap_mailboxes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |