02-Jul-2026 — self-heal expired Gmail history cursor and surface sync errors #293

build 725commit 1500fce


What's new

When Gmail's history.list returns 404 "Requested entity was not found" (the stored historyId has expired), the poller now resets the cursor and falls back to a full listing instead of leaving the connection wedged in an error state with no recovery. This is Gmail's documented behaviour for an expired history cursor and the fix protects every connected inbox, not just one. Alongside this, the connected-mailbox card in system settings now shows a warning when the connection is in the error state (previously only the token-revoked case was shown), pointing at the re-scan action, so a stuck sync is visible with its reason instead of silently importing nothing.

At a glance

Technical changes