email-triage
SKILL.md
Email Triage
Scan your IMAP inbox, classify emails into priority categories, and surface the ones that need attention. Uses a local LLM (Ollama) for intelligent classification with a rule-based heuristic fallback when Ollama is unavailable.
Prerequisites
- Python 3.10+
- IMAP-accessible email account (Gmail, Fastmail, self-hosted, etc.)
- Ollama (optional) — for AI-powered classification. Without it, the script uses keyword-based heuristics that still work well for common patterns.
Categories
| Icon | Category | Description |
|---|---|---|
| 🔴 | urgent |
Outages, security alerts, legal, payment failures, time-critical |
| 🟡 | needs-response |
Business inquiries, questions, action items requiring a reply |
| 🔵 | informational |
Receipts, confirmations, newsletters, automated notifications |
| ⚫ | spam |
Marketing, promotions, unsolicited junk |