list_mailboxes
Get all mail folders like INBOX, Sent, and Drafts for a specific mail account. Provide the account ID to receive folder IDs, names, unread counts, and roles for message retrieval.
Instructions
List mailboxes (folders) for a mail account.
Returns all mailboxes like INBOX, Sent, Drafts, Trash, etc. Use the mailbox ID to list messages in that mailbox.
Args: account_id: The mail account ID. Use list_mail_accounts to find it.
Returns: JSON list of mailboxes, each with: id, name, display_name, unread count, special_role.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |