mailboxes_list
Lists mailboxes for a FastPanel email domain, showing address, enabled status, size, quota, forwarding, aliases, and spam settings. Use it to inspect existing boxes; passwords are not returned.
Instructions
List mailboxes of one email domain: address, enabled, size (bytes used), quota, redirects (forwarding targets), aliases, save_in_box (keep a local copy when forwarding), spam_to_junk. Maps to GET /api/email/domains/{domain_id}/boxs (sic — 'boxs'). Passwords are NOT returned: FastPanel exposes no API/CLI path to read a mailbox password back (it keeps a one-way IMAP hash plus a reversible copy only the panel process itself can decrypt). To give someone access to an existing box, reset it with mailbox_update generate_password:true. When the local password store is enabled (FASTPANEL_PASSWORD_STORE), each box also carries password_stored — true means mailbox_password_get can return its password.
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": {
"domain_id": "<domain_id>"
},
"name": "mailboxes_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| compact | No | Return essential fields only (default). false = full objects incl. owner. | |
| domain_id | Yes | Email domain id from email_domains_list |