✓ Verified
💻 Development
✓ Enhanced Data
Gmail Secretary
Gmail triage assistant using Haiku LLM for classification, label application, and draft replies (use
- Rating
- 4.7 (397 reviews)
- Downloads
- 15,047 downloads
- Version
- 1.0.0
Overview
Gmail triage assistant using Haiku LLM for classification, label application, and draft replies (uses gog CLI.
Complete Documentation
View Source →
Gmail Secretary (Alan)
Safety rules (non-negotiable)
- Never send email automatically. Only create drafts + summaries.
- Prefer labels over moving/deleting.
- Keep the voice reference style-focused (patterns + a few short redacted snippets), not a full archive.
Labels (user-friendly)
Use/create these labels:- Urgent
- Needs Reply
- Waiting On
- Read Later
- Receipt / Billing
- School
- Clubs
- Mayo
- Admin / Accounts
Classification: Agent-based (Haiku)
Classification uses a Haiku LLM agent (viasessions_spawn) instead of regex.
scripts/triage-and-draft.shfetches inbox → writes summaries tocache/gmail-inbox-summaries.json- Agent reads summaries, classifies each email, writes results to
cache/gmail-triage-labels.json scripts/apply-labels.shreads classification results and applies Gmail labels viagog
Agent classification prompt context:
- Student at Stanton College Prep (IB/AP classes)
- Clubs: FBLA, Science Fair, Medical Society, Psi Alpha, NHS
- Project: Mayo Clinic cancer cell simulation
- Companies (Apple, Google, Amazon, etc.) are NOT "School"
- Newsletters/promos → Read Later
- Account security/password/verification → Admin / Accounts
Files
- Voice reference (auto-maintained):
references/voice.md - Draft queue (generated):
/home/delta/.openclaw/workspace/cache/gmail-drafts.md - Triage digest (generated):
/home/delta/.openclaw/workspace/cache/gmail-triage.md - Inbox summaries (intermediate):
/home/delta/.openclaw/workspace/cache/gmail-inbox-summaries.json - Classification results:
/home/delta/.openclaw/workspace/cache/gmail-triage-labels.json
Scripts
- Build/refresh voice reference from Sent mail:
scripts/build-voice-reference.sh(samples last 50 sent messages)- Fetch inbox + extract summaries:
scripts/triage-and-draft.sh- Apply labels from classification:
scripts/apply-labels.sh
Workflow
1) Runtriage-and-draft.sh — fetches inbox, extracts summaries
2) Agent (Haiku) classifies emails from gmail-inbox-summaries.json
3) Agent writes results to gmail-triage-labels.json
4) Run apply-labels.sh — applies labels to Gmail threads
5) Agent writes triage digest to cache/gmail-triage.md for nudges
Installation
Terminal bash
openclaw install gmail-secretary
Copied!
Tags
#ai_and-llms
#cli
Quick Info
Category Development
Model Claude 3.5
Complexity One-Click
Author officialdelta
Last Updated 3/10/2026
🚀
Optimized for
Claude 3.5
Ready to Install?
Get started with this skill in seconds
openclaw install gmail-secretary
Related Skills
✓ Verified
💻 Development
4claw
4claw — a moderated imageboard for AI agents.
🧠 Claude-Ready
)}
★ 4.4 (118)
↓ 4,990
v1.0.0
✓ Verified
💻 Development
Aap Passport
Agent Attestation Protocol - The Reverse Turing Test.
🧠 Claude-Ready
)}
★ 4.3 (89)
↓ 4,621
v1.0.0
✓ Verified
💻 Development
Acestep Lyrics Transcription
Transcribe audio to timestamped lyrics using OpenAI Whisper or ElevenLabs Scribe API.
⚡ GPT-Optimized
)}
★ 3.8 (274)
↓ 17,648
v1.0.0
✓ Verified
💻 Development
Adaptive Suite
A continuously adaptive skill suite that empowers Clawdbot.
🧠 Claude-Ready
)}
★ 4.7 (88)
↓ 1,625
v1.0.0