sync_emails
Control email synchronization by starting or stopping scheduled syncs, forcing immediate syncs, checking sync status, searching cached emails, and managing synchronization settings.
Instructions
Unified email synchronization tool: start/stop scheduler, force sync, get status, search cache, manage config (action: start|stop|force|status|search|recent|config). Operates on the local sync service and databases.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | Action to perform: start/stop scheduler, force sync, get status, search cached emails, get recent emails, or manage config | |
| full_sync | No | For 'force' action: perform full sync instead of incremental | |
| account_id | No | For 'force', 'search', 'recent': target specific account only (optional) | |
| query | No | For 'search' action: search query keywords | |
| limit | No | For 'search', 'recent' actions: maximum number of results | |
| config_updates | No | For 'config' action: configuration updates |