Gmail OAuth Admin

Operator tools

One-shot admin actions. Confirm before running.

Gmail health sweep

Calls getProfile for every active Gmail account and persists outcomes.

Batch settings
Rethread orphan emails

Unify thread keys across accounts. Re-run if more remain.

Backfill legacy email columns

Backfill origin and thread columns on legacy email rows.

Renew Gmail watches

Re-register Pub/Sub push watches for all active accounts (expire after ~7 days).

Prune audit logs