email-triage
Email Triage
How Gmail Commander sorts recent email into what needs attention, and where each digest actually comes from.
Self-Evolving Skill: This skill improves through use. If instructions are wrong, parameters drifted, or a workaround was needed — fix this file immediately, don't defer. Only update for real, reproducible issues.
Two different digests — do not confuse them
| Digest | Trigger | Code |
|---|---|---|
On-demand /digest [hours] |
A user sends it to the bot (default 6 h) | This plugin: scripts/lib/commands.ts + scripts/lib/triage.ts |
| Scheduled digest | Several times a day, unattended | The private deployment's GmailDigest service — its own implementation |
The scheduled digest runs in a private Restate tenant on an always-on Mac mini and does not import this plugin's triage code. Its schedule, prompt, alerting and failures are operated through that deployment's own repository runbook.
This plugin no longer ships a scheduled digest entry point: the laptop launchd job com.example.gmail-commander-digest was retired on 2026-09-24, and its scripts/digest.ts (with the Kokoro podcast-style voice briefing in scripts/lib/tts-client.ts) was removed on 2026-09-26 once nothing imported it. Do not recreate either.