PublicMITGemini-only
Gmail Triage Bot × SlimeTree-RLM (Gemini-only)
▸ Pre-triage incoming mail with RLM
Fetch the Gmail inbox → RLM emits D=auto-reply / µ=trash / R=Gemini summary. Mechanically helps your team reach inbox-zero.
1. Google API authentication (OAuth 2.0)
At console.cloud.google.com create an OAuth client → obtain a User Access Token. Scope: https://www.googleapis.com/auth/gmail.readonly + gmail.modify
2. Gemini (Google AI) API key
At aistudio.google.com/apikey you can issue a personal free key (15 RPM free; overflow is token-billed).
Platform-native LLM: Google Workspace processing is Gemini-only (managed under the same Google account).
2.5 Operation mode ★ NEW: B (in-Gemini tiering) ― shared module
3. Inbox triage
Fetch the latest 10 inbox messages via the Gmail API → run RLM verdict on subject + body → D=auto-reply / μ=trash / R=Gemini summary.
Processed: 0
D: 0
µ: 0
R: 0
4. API call log
(not yet run)
5. Benefits
- Auto-deflect spam / investment solicitation: mechanically suppressed by µ — sent to trash before human review
- Instant FAQ replies: D answers "business hours" / "pricing" etc. with 0 tokens
- Complex deals go to Gemini: multi-industry comparisons and quotes get summarized + drafted
- WAL chain: who sent what and how it was handled is SHA-256 recorded
