Sync Folders
sync_foldersRefresh your IMAP folder list to clear stale cache and pick up recent folder changes made in other clients.
Instructions
Refresh the folder list from IMAP (invalidates folder cache). Call this after creating/renaming/deleting folders in another client or if folder counts seem stale.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_id | No | Optional account ID to route this call to (multi-account configs). Omit to use the active account. Configured account IDs are listed in the settings UI (Accounts tab). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| success | Yes | ||
| folderCount | Yes |