Sync Emails
sync_emailsFetch recent emails from IMAP into local cache. Refresh the cache after Bridge syncs new messages to make them available for retrieval.
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 |