Email Triage Pro

v2.0.0

Intelligently categorize, prioritize, and draft replies for emails. Fetches emails via web_fetch (Gmail web) or browser, no OAuth required. AI-powered classi...

0· 71·0 current·0 all-time
MIT-0
Download zip
LicenseMIT-0 · Free to use, modify, and redistribute. No attribution required.
Security Scan
VirusTotalVirusTotal
Pending
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
The name/description claim (categorize and draft replies by reading webmail) matches the runtime instructions (use web_fetch or browser snapshots or pasted content). There are no unrelated env vars, binaries, or installs requested.
Instruction Scope
The SKILL.md instructs the agent to access the user's webmail pages (Gmail/Outlook/Yahoo) via web_fetch or browser snapshots and extract subjects/senders/snippets — this is expected for triage, but it inherently requires reading sensitive email content. The skill explicitly avoids OAuth and automatic sending, and it does not instruct reading files or extra environment variables beyond the webmail session. It suggests an optional Gmail API key as a fallback but does not declare or require one.
Install Mechanism
Instruction-only skill with no install spec and no code files — nothing is written to disk and nothing is downloaded or installed by the skill itself.
Credentials
The skill requests no credentials or env vars, which is proportional. Minor inconsistency: SKILL.md says 'No OAuth required' but also suggests 'Set up a Gmail API key for direct access' as an optional fallback; that suggestion is reasonable but not declared as a required credential.
Persistence & Privilege
always:false and no requested persistent privileges. The skill does not request to modify other skills or system settings. It can run autonomously per platform default, which is normal; consider whether you want it to be able to act autonomously on sensitive mailbox data.
Assessment
This skill will read your email content by visiting your webmail pages or by reading text you paste — it does not require OAuth or install anything. Before using it, decide how you want it to access your mail: (1) prefer copy-paste of non-sensitive emails for initial testing, (2) if using browser snapshots, only open the mailbox you want the skill to read and do not expose other sensitive tabs, (3) confirm each draft before sending (the skill says it will not auto-send), and (4) note the skill's source/homepage are unknown — if you need stronger trust, test with dummy emails or request provenance from the publisher before giving it access to real inbox data.

Like a lobster shell, security has layers — review code before you run it.

automationvk97a3tswxecr8d223d61w3hs7x83vhn4categorizationvk970x95p4ggzpqf5a91f47tan583vxzfdigestvk97b6j1ssn4dqh1m265h395jvs83rwb3draftsvk970x95p4ggzpqf5a91f47tan583vxzfemailvk970x95p4ggzpqf5a91f47tan583vxzfgmailvk970x95p4ggzpqf5a91f47tan583vxzfimapvk97d4bnpfb5xmkf1gk9kk2z10x83tysfinboxvk970x95p4ggzpqf5a91f47tan583vxzflatestvk97entn7xq0wc9bmcqrmtxa43s842yxrmulti-languagevk97b6j1ssn4dqh1m265h395jvs83rwb3priorityvk970x95p4ggzpqf5a91f47tan583vxzfproductivityvk970x95p4ggzpqf5a91f47tan583vxzftriagevk970x95p4ggzpqf5a91f47tan583vxzf

License

MIT-0
Free to use, modify, and redistribute. No attribution required.

SKILL.md

Email Triage Pro v2.0

Install: clawhub install email-triage-pro

Email triage and reply drafting. No OAuth or external dependencies — uses web_fetch or browser.

Language

Detect from user's message language. Default: English.

How It Works

Step 1: Fetch Emails

Use the agent's built-in tools. Pick the best available method:

Method A: web_fetch (Gmail)

web_fetch https://mail.google.com/mail/u/0/#inbox

Note: Gmail requires login cookies. If web_fetch returns a login page, fall back to Method B.

Method B: Browser automation

browser open → https://mail.google.com/mail/u/0/#inbox
browser snapshot → extract email list

Method C: Any webmail Works with Outlook.com, Yahoo, etc. — navigate to inbox, snapshot, extract.

If no method works, tell the user:

Could not access email. Options:
1. Open your email in the browser and I can read it via screen snapshot
2. Copy-paste email content and I'll categorize + draft replies
3. Set up a Gmail API key for direct access

Step 2: Categorize

Read each email's subject, sender, and snippet. Categorize:

CategoryCriteriaAction
🔴 UrgentTime-sensitive, from boss/client, "ASAP"Flag immediately
🟡 ImportantWork-related, requires responseDraft reply
🟢 NewsletterMass email, marketingArchive suggestion
⚪ Spam/LowPromotions, automatedArchive suggestion

Step 3: Draft Replies

For urgent and important emails only. Rules:

  • Match sender's tone
  • Max 3 paragraphs
  • End with clear next step
  • Match sender's language
  • Do NOT send — present draft for review

Format:

📧 Reply to: {sender} - "{subject}"

---
{draft text}

---
[Reply] [Edit] [Skip]

Step 4: Summary

Email Triage ({N} emails):
  🔴 Urgent: {count}
  🟡 Important: {count}
  🟢 Newsletter: {count}
  ⚪ Spam/Low: {count}
  Drafts: {count} ready for review

Quick Commands

User saysAction
"check email" / "sjekk mail"Fetch + categorize + summarize
"check urgent"Filter urgent only
"draft reply to [sender]"Draft for specific email
"email summary"Summary of recent emails
"follow up"Check for unanswered important emails

Paste Mode

If the user pastes email content directly:

  1. Categorize immediately
  2. Draft reply
  3. No fetch needed

Guidelines for Agent

  1. Use built-in tools first — web_fetch, then browser, then ask user
  2. Never require OAuth — always have a fallback
  3. Don't auto-send — drafts are for review only
  4. Match language — reply in the email's language
  5. Be concise — categorize fast, draft short
  6. Track unanswered — flag emails awaiting reply

What This Skill Does NOT Do

  • Does NOT require OAuth, API keys, or external skills
  • Does NOT send emails automatically
  • Does NOT store credentials
  • Does NOT modify any local files

More by TommoT2

  • setup-doctor — Diagnose and fix OpenClaw setup issues
  • context-brief — Persistent context survival across sessions
  • cross-check — Auto-detect and verify assumptions in your responses

Install the full suite:

clawhub install setup-doctor context-brief cross-check email-triage-pro

Files

1 total
Select a file
Select a file to preview.

Comments

Loading comments…