Sync Folders
sync_foldersRefresh the folder list from IMAP to invalidate cache and sync changes after folder operations in another client or when counts appear outdated.
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 |