mail_list_mailboxes
List all Fastmail mailboxes (folders and labels) with their IDs, names, roles, email counts, and parent folder IDs to understand your mailbox hierarchy.
Instructions
List all JMAP mailboxes (Fastmail folders and labels) with id, name, role, email counts, and parentId.
In Fastmail, both folders and labels are represented as JMAP mailboxes. An email can belong to multiple mailboxes simultaneously — this is how labels work. Nested folders have a parentId pointing to their parent mailbox. System mailboxes (inbox, sent, trash, drafts, archive, spam) have a role field set.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |