folders
Lists mailbox directories with message and unread counts, marking special ones like sent or trash, and returns exact names for email search and move actions.
Instructions
List the folders of one mailbox with message and unread counts, marking special ones like [sent] or [trash]. Use it for the exact folder names that emails, search (scope) and action (moveToFolder) take; accounts lists the mailboxes themselves. Changes nothing. A mailbox this app may not use gives an error naming the ones it may.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sizes | No | true also shows each folder's size and how full the mailbox is (slower). | |
| account | No | A mailbox address or name from accounts. Empty means the first mailbox. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |