Agent skill · operations · borghei

email-triage

Classify a batch of emails into action categories (reply now, reply later, archive, delete, unsubscribe) and surface unsubscribe candidates. Use after a busy week, running inbox zero, or triaging email overload.

Why this skill is useful

Adds a Python script for classifying emails into actionable categories that the AI wouldn't reliably generate on its own.

What it needs

Requires python installed locally. About 2k tokens when loaded. Last updated 2026-07-21. 462 stars on the source repository.

What this skill does

Email Triage Classify a batch of email subjects + senders into action buckets and surface inbox-zero candidates. --- Keywords email, inbox, inbox zero, triage, unsubscribe, mailing list, mailbox, gmail, outlook, productivity --- Clarify First Before triaging, confirm these inputs. If any is unknown or vague, ASK — do not assume: [ ] Inbox export fields — subject, sender, snippet drive classification accuracy; missing columns degrade the buckets [ ] Priority / VIP senders — who always routes to replynow regardless of content [ ] Unsubscribe tolerance — purge all marketing vs keep newsletters you value; sets how aggressive the unsubscribe/delete buckets are Stop rule: ask only the 2-3 that most change the output. If the user says "just draft it," proceed and list your assumptions at the top of the artifact. --- Quick Start 1. Export inbox to CSV with columns: subject,sender,snippet,receivedat 2. Run: python scripts/emailclassifier.py inbox.csv 3. Review action buckets; act on each in order --- Core Workflows Workflow 1: Weekly Inbox Triage 1. Export the past week's inbox 2. Run classifier 3. Action in order: reply-now → reply-later (move to follow-up folder) → archive → unsubscribe → delete 4. Apply Gmail filters (see assets/gmailfiltertemplate.md) so future similar emails route automatically Time Estimate: 30-45 minutes for a busy week. Workflow 2: Unsubscribe Pass 1. Run classifier; review unsubscribe candidates 2. Unsubscribe in batch (most senders honor unsubscribe links within ~10 days) 3. For senders that don't honor, set Gmail filter to auto-delete Time Estimate: 15 minutes per pass. Workflow 3: Inbox-Zero Reset 1. Apply the full inbox-zero method from references/inboxzeromethod.md 2. Move every email older than 30 days to archive (you'll find 1% later via search) 3. Triage the remaining recent emails using the classifier Time Estimate: 1-2 hours one-time; then 20 min/week to maintain. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills borghei/email-triage

View the source on GitHub

Browse the @skills marketplace