List folders
list_foldersRetrieves an account's mail folders and shows each folder's role, total messages, and unread count, so you can inspect mailbox structure before choosing a folder.
Instructions
List folders of an account with their special-use role (inbox, sent, drafts, trash, junk, archive, all, flagged) and message/unread counts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | Yes | Account id from list_accounts |