OptionalsyncEarliest date to include in initial sync, based on the user's plan.
Non-calendar connectors should use this as their date filter (timeMin, created.gte, etc.) during initial sync. Calendar connectors should ignore this for API queries (to avoid missing recurring events) — the API layer filters non-recurring items automatically.
Undefined when no limit applies.
OptionalrecoveringTrue when this is a recovery dispatch after the connection's auth was restored (the user re-authorized a previously-broken connection).
The framework calls onChannelEnabled again for every channel that was
already enabled at the time of re-auth so the connector can recover from
the auth gap. Connectors should:
unread: false and archived: false on
items as you would during initial sync.Most connectors can take the same code path as a fresh
onChannelEnabled for recovering: true as long as that path
overwrites stored state rather than appending to it.
Context passed to onChannelEnabled with plan-based sync hints. Connectors can use these hints to limit initial sync scope.