Sync Emails
sync_emailsFetch the latest emails from your IMAP account into the local cache. Use this to refresh the cache after new messages are synced by Bridge.
Instructions
Fetch the latest emails from IMAP into the local cache. Use this to refresh the cache after Bridge syncs new messages. Returns emails fetched; use get_emails for paginated access.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max emails to fetch (1-500, default 100) | |
| folder | No | Folder to sync. Default: INBOX | |
| 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 |
|---|---|---|---|
| count | Yes | ||
| folder | Yes | ||
| success | Yes |