Read a bounded batch
Collect the messages needed for a scheduled triage pass.
An earlier experiment in having AI sort mail into keep, archive, or trash.
GMAIL → POLICY + OPENAI
↓
KEEP / ARCHIVE / TRASH
↓
SHADOW AUDIT FIRSTThis prototype uses a scheduled Cloudflare Worker to classify Gmail messages through policy rules and OpenAI.
The default is shadow mode: record what it would do before allowing mailbox changes. It is a separate project from the later Mail Call tablet display.
Collect the messages needed for a scheduled triage pass.
Combine policy checks with a structured keep, archive or trash decision.
Shadow mode records proposed actions. Guarded live adapters recheck protected messages.
Worker and classification schemaScheduled triage and structured model results.Guarded Gmail adaptersStar protection, rechecks and bounded changes.Audit and offline testsDecision records and adapter regression checks.Prototype with shadow mode as the default. Its documentation leaves live deployment and first-report review as acceptance work. Mail Call has its own record and implementation.