<< All versions

Skill v1.0.0

currentAutomated scan100/100
togorashi45/skills-directory/cc-email-triage
──Details
PublishedNovember 19, 2026 at 01:51 AM
Content Hashsha256:c1b7f919819676d6...
Git SHA48fa51373516
──Files
Files (1 file, 7.0 KB)
SKILL.md7.0 KBactive
SKILL.md · 235 lines · 7.0 KB

name: cc-email-triage description: Claude Code skill for triaging Jake's Gmail inbox (jake@rspur.com). Uses Gmail MCP to classify emails into three tiers (Reply Needed, Review, Noise), handles alias-aware routing, drafts replies, and archives noise. Adapted from ericporres/email-triage-plugin + claudeblattman.com EA patterns. Use in Claude Code or as a standalone coworker plugin when Jake says "triage my email", "check inbox", or "what needs a reply". metadata: version: "1.0.0"


cc-email-triage — Claude Code Email Triage

Gmail inbox triage for jake@rspur.com via Gmail MCP. Three-tier classification. Reply drafting. Archive management. Alias-aware routing.


Setup: Gmail MCP

Add to your project's .mcp.json:

json
{
"mcpServers": {
"gmail": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-gmail"],
"env": {
"GMAIL_OAUTH_PATH": "/Users/marcusaureliusmolt/.config/gmail-mcp/oauth.json"
}
}
}
}

OAuth setup (one-time):

bash
npx @modelcontextprotocol/server-gmail --setup
# Follow browser auth flow for jake@rspur.com
# Saves token to ~/.config/gmail-mcp/oauth.json

Alternative: Use gog CLI (already authenticated):

bash
GOG_KEYRING_PASSWORD=openclaw GOG_ACCOUNT=jake@rspur.com gog gmail ls "in:inbox is:unread" --limit 30 --no-input
GOG_KEYRING_PASSWORD=openclaw GOG_ACCOUNT=jake@rspur.com gog gmail read <id> --no-input
GOG_KEYRING_PASSWORD=openclaw GOG_ACCOUNT=jake@rspur.com gog gmail drafts create --to "<email>" --subject "<subject>" --body-html "<html>" --no-input

Three-Tier Classification

TierLabelActionWho Sends
🔴 Reply NeededREPLY_NEEDEDDraft reply immediatelyClients, prospects, deals, contractors, Jake's team
🟡 ReviewREVIEWSurface to Jake, no draftLegal, finance, contracts, anything requiring Jake's judgment
⚫ NoiseNOISEArchive silentlyNewsletters, marketing, promos, social notifications, receipts

Alias-Aware Routing

Jake uses multiple addresses that all land in jake@rspur.com. Route by TO/CC field:

To AddressContextDefault Tier
jake@rspur.comPrimary businessFollow sender rules
jake@therealestatereset.comRE Reset brandProspects/leads → 🔴
Any @rspur.com aliasInternalCheck sender, route accordingly

Sender Priority Rules

Always 🔴 Reply Needed:

  • Active clients (Matt Hoover, Charles Contreras, any name in GHL Active pipeline)
  • New inbound leads mentioning "interested", "how much", "still available"
  • Contractors with open scopes or bids
  • Title companies, attorneys with active deals
  • Kim (ops team), Gelian/Ren (bookkeepers)
  • Replies to Jake's previous emails

Always 🟡 Review:

  • Legal documents, contracts, NDAs
  • Bank/lender correspondence
  • IRS, government notices
  • Investor/JV partner communications
  • Anything with dollar amounts > $10K Jake hasn't initiated

Always ⚫ Noise:

  • Beehiiv, Mailchimp, ConvertKit newsletters
  • LinkedIn notifications, Facebook alerts
  • Stripe receipts, SaaS billing (unless past due)
  • Automated CRM system emails
  • Indeed/Upwork job platform notifications (batch, don't triage individually)

Triage Workflow

Step 1: Pull unread inbox

bash
GOG_KEYRING_PASSWORD=openclaw GOG_ACCOUNT=jake@rspur.com \
gog gmail ls "in:inbox is:unread" --limit 30 --no-input

Step 2: Read and classify each email

For each message:

  1. Check sender against priority rules above
  2. Scan subject + first 200 chars of body
  3. Assign tier (Reply Needed / Review / Noise)
  4. Note: sender, subject, why it was classified, suggested action

Step 3: Draft replies for "Reply Needed"

Use Jake's voice:

  • Direct, no fluff
  • Short sentences
  • No "Great question!" or "I'd be happy to help"
  • No em dashes
  • Professional but human
bash
GOG_KEYRING_PASSWORD=openclaw GOG_ACCOUNT=jake@rspur.com \
gog gmail drafts create \
--to "<sender email>" \
--subject "Re: <original subject>" \
--body-html "<html formatted reply>" \
--no-input

NEVER send. Always draft. Jake reviews and sends from Gmail.

Step 4: Archive Noise

bash
GOG_KEYRING_PASSWORD=openclaw GOG_ACCOUNT=jake@rspur.com \
gog gmail archive <message-id> --no-input

Archive in batches. Report count: "Archived 12 noise emails."

Step 5: Output Summary

Format:

📬 INBOX TRIAGE — [Date]
Unread: X | Reply Needed: X | Review: X | Archived: X
🔴 REPLY NEEDED (X)
1. [Sender] — [Subject] — [1-line summary] — Draft saved
2. ...
🟡 REVIEW (X)
1. [Sender] — [Subject] — [why Jake needs to see this]
2. ...
⚫ ARCHIVED (X noise emails)

Slash Commands (Claude Code REPL)

Add these to your CLAUDE.md or use inline:

/triage-inbox

Run full inbox triage. Pull 30 unread, classify, draft replies, archive noise.

/check-email [search]

Quick check: "from:matthoover", "subject:offer", "is:unread".

/draft-reply [message-id]

Draft a reply to a specific message. Show draft before saving.

/archive-noise

Archive all emails classified as Noise from last triage run.


CLAUDE.md Snippet

Add to project CLAUDE.md to enable as persistent coworker context:

markdown
## Email Triage
-Account: jake@rspur.com (via gog CLI, GOG_KEYRING_PASSWORD=openclaw)
-Never send email directly. Always create drafts via: gog gmail drafts create --body-html
-Triage tiers: Reply Needed → draft immediately | Review → surface to Jake | Noise → archive
-Jake's voice: direct, short sentences, no fluff, no em dashes, no "Great question!"
-Alias routing: @therealestatereset.com emails are usually prospects (Reply Needed)
-Active clients: Matt Hoover, Charles Contreras — always Reply Needed same session

.mcp.json Full Config

json
{
"mcpServers": {
"gmail": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-gmail"],
"env": {
"GMAIL_OAUTH_PATH": "/Users/marcusaureliusmolt/.config/gmail-mcp/oauth.json"
}
},
"filesystem": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-filesystem",
"/Users/marcusaureliusmolt/.openclaw/workspace"
]
}
}
}

Reference

  • Source inspiration: https://github.com/ericporres/email-triage-plugin
  • EA skill patterns: https://claudeblattman.com/toolkit/executive-assistant/
  • Commands: /triage-inbox, /morning-brief, /checkin, /done, /todo-add, /todo-review
  • gog CLI docs: gog gmail --help

Error Handling

ErrorFix
gog: auth errorRe-auth: GOG_KEYRING_PASSWORD=openclaw gog auth login jake@rspur.com
MCP server not foundRun npx @modelcontextprotocol/server-gmail --setup
Rate limit (429)Wait 60s. Reduce batch size to 10 emails.
Draft create failedCheck --body-html flag. Plain --body may fail on special chars.
Archive failedTry labeling as READ first, then archive.
All versions