listFolders
listFoldersLists locally known mail folders for a connection with their keys, paths, and indexed message counts so you can select a folder key for message listing or search.
Instructions
List locally known folders in one connection, with folder keys, paths and local indexed message counts. Pass a folder's key as folder to listMessages or search; keep the same connection. synced=false means a completed folder sync has not been recorded and messages may be missing. synced=true does not guarantee current mail; use syncStatus for the latest sync's time and outcome. This tool does not discover folders on the server.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| connection | Yes | Connection name from listConnections |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folders | Yes | Folders. | |
| connection | Yes | Connection name. |