Email Classifier — Claude Code skill: what it does, how to install
Categorizes pasted email messages by urgency, action required, and type. Handy when sifting through a crowded inbox during morning triage.
npx skills add claude-office-skills/skills --skill email-classifier -a claude-codeWhat Email Classifier does
The skill evaluates raw email text against six categories: Action Required, FYI, Waiting, Delegated, Archive, and Delete. For single messages or batches, it assigns priorities ranging from Urgent down to Low. The resulting output formats deadlines and suggested response windows into clean Markdown summaries.
It includes pattern checks for spam and phishing, screening sender domains against display names and flagging aggressive urgency triggers. You can also define custom rules, such as treating VIP clients as immediate priorities or auto-delegating IT queries.
This skill cannot access your mailbox directly via IMAP or external APIs. It operates purely on text. You have to feed email content directly into the prompt, meaning thread context remains limited to what you paste.
What it helps with
- categorize raw email text by urgency and required follow-up
- filter out newsletters and promotional spam from critical requests
- generate structured triage summaries with action items and deadlines
- spot phishing indicators like mismatched sender domains and coercive urgency
Example prompts for the agent
- Classify this email: [paste email content]
- Classify these emails and organize by priority: 1. [Email 1] 2. [Email 2]
- Classify my emails. Treat anything from @client.com as high priority
How to install Email Classifier
1Skills CLI (Vercel)
npx skills add claude-office-skills/skills --skill email-classifier -a claude-code2Manually: put the files in place
~/.claude/skills/email-classifier/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/email-classifier/
1Skills CLI (Vercel)
npx skills add claude-office-skills/skills --skill email-classifier -a codex2Manually: put the files in place
.agents/skills/email-classifier/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add claude-office-skills/skills --skill email-classifier -a cursor2Manually: put the files in place
.cursor/skills/email-classifier/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install claude-office-skills/skills email-classifier2Manually: put the files in place
.github/skills/email-classifier/SKILL.md1Skills CLI (Vercel)
npx skills add claude-office-skills/skills --skill email-classifier -a gemini-cli2Platform CLI
gemini skills install https://github.com/claude-office-skills/skills --path email-classifierManually: put the files in place
.devin/skills/email-classifier/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add claude-office-skills/skills --skill email-classifier -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about Email Classifier
How to install Email Classifier in Claude Code?
Run npx skills add claude-office-skills/skills --skill email-classifier -a claude-code in your terminal.
What does Email Classifier do?
It analyzes provided email text, assigns an urgency rating, recommends next actions, and generates Markdown summaries for single messages or batches.
Can Email Classifier connect directly to an email account?
No. It operates entirely on text passed into the conversation and cannot connect directly to email providers.
Source text
SKILL.md · MIT
---
# ═══════════════════════════════════════════════════════════════════════════════
# CLAUDE OFFICE SKILL - Enhanced Metadata v2.0
# ═══════════════════════════════════════════════════════════════════════════════
# Basic Information
name: Email Classifier
description: "Automatically categorize emails by type, priority, and required action"
version: "1.0"
author: claude-office-skills
license: MIT
# Categorization
category: productivity
tags:
- email
- classification
- organization
department: All
# AI Model Compatibility
models:
recommended:
- claude-sonnet-4
- claude-opus-4
compatible:
- claude-3-5-sonnet
- gpt-4
- gpt-4o
# Skill Capabilities
capabilities:
- email_categorization
- priority_assignment
- labeling
# Language Support
languages:
- en
- zh
---
# Email Classifier
Automatically categorize and prioritize emails to help manage inbox overload.
## Overview
This skill helps you:
- Classify emails by category and type
- Determine priority and urgency
- Identify required actions
- Filter out low-value emails
- Organize for efficient processing
## Classification Categories
### Primary Categories
| Category | Description | Examples |
|----------|-------------|----------|
| **Action Required** | Needs your response/action | Requests, approvals, questions |
| **FYI** | Informational, no action needed | Updates, announcements, reports |
| **Waiting** | You're waiting for others | Follow-ups, pending responses |
| **Delegated** | Forward to someone else | Wrong recipient, team matters |
| **Archive** | Keep but no action | Confirmations, receipts |
| **Delete** | Low value, can remove | Spam, irrelevant promos |
### Email Types
| Type | Description |
|------|-------------|
| **Meeting** | Invites, updates, cancellations |
| **Task/Request** | Someone asking you to do something |
| **Question** | Needs your answer |
| **Update/Report** | Status updates, progress reports |
| **Approval** | Needs your sign-off |
| **Newsletter** | Subscribed content |
| **Marketing** | Promotional content |
| **Alert/Notification** | System alerts, notifications |
| **Personal** | Non-work related |
| **Spam/Phishing** | Unwanted or suspicious |
### Priority Levels
| Priority | Response Time | Indicators |
|----------|---------------|------------|
| 🔴 **Urgent** | Within hours | Deadline today, executive request, blocking issue |
| 🟠 **High** | Within 24h | Important client, time-sensitive, direct request |
| 🟡 **Normal** | Within week | Standard requests, routine matters |
| 🟢 **Low** | When convenient | FYI, newsletters, non-urgent updates |
## How to Use
### Single Email Classification
```
"Classify this email: [paste email content]"
```
### Batch Classification
```
"Classify these emails and organize by priority:
1. [Email 1]
2. [Email 2]
3. [Email 3]"
```
### With Rules
```
"Classify my emails. Treat anything from @client.com as high priority"
```
## Output Format
### Single Email
```markdown
## Email Classification
**From**: [email protected]
**Subject**: Q1 Budget Approval Needed
| Attribute | Value |
|-----------|-------|
| **Category** | Action Required |
| **Type** | Approval |
| **Priority** | 🔴 Urgent |
| **Deadline** | EOD Friday |
| **Sender Importance** | High (CFO) |
### Recommended Action
Review attached budget and approve/reject by Friday EOD.
### Suggested Response Time
Within 4 hours
### Labels/Tags
`finance`, `approval`, `q1-budget`, `executive`
```
### Batch Results
```markdown
## Email Classification Results
**Total Emails**: 15
**Processing Date**: 2026-01-29
### Summary
| Category | Count | % |
|----------|-------|---|
| Action Required | 4 | 27% |
| FYI | 6 | 40% |
| Delete/Spam | 3 | 20% |
| Waiting | 2 | 13% |
### 🔴 Urgent (2)
1. **[Subject]** from [Sender] - [Action needed]
2. **[Subject]** from [Sender] - [Action needed]
### 🟠 High Priority (3)
1. **[Subject]** from [Sender] - [Type]
2. ...
### 🟡 Normal (5)
1. ...
### 🟢 Low/FYI (5)
1. ...
```
## Custom Rules
### Define Your Rules
```markdown
## My Email Rules
### VIP Senders (Always High Priority)
- CEO, CFO, CTO
- Direct manager
- Key clients: @bigclient.com
### Auto-Archive
- Newsletters (unless from [specific])
- Automated reports (after reading)
- CC-only emails (if no @mention)
### Auto-Delegate
- IT support requests → it-team@
- HR questions → hr@
### Red Flags (Mark Urgent)
- "URGENT" in subject
- Legal/compliance mentions
- Customer complaints
```
## Spam/Phishing Detection
### Warning Signs
```markdown
## Suspicious Email Indicators
**Risk Level**: 🔴 High / 🟠 Medium / 🟢 Low
### Red Flags Detected
- [ ] Sender domain doesn't match display name
- [ ] Urgency pressure tactics
- [ ] Request for credentials/personal info
- [ ] Suspicious links (hover to check)
- [ ] Unexpected attachments
- [ ] Grammar/spelling errors
- [ ] Generic greeting ("Dear Customer")
### Recommendation
[Do not click links / Report as phishing / Safe to proceed]
```
## Workflow Suggestions
### Processing Order
```markdown
## Recommended Processing Order
### Morning (30 min)
1. 🔴 Urgent emails first (2 emails, ~10 min)
2. 🟠 High priority (3 emails, ~15 min)
3. Quick wins under 2 min (5 emails, ~5 min)
### Batch Later
- 🟡 Normal priority - schedule 1 hour block
- 🟢 Newsletters - end of day or weekend
### Delegate Now
- Forward [Email X] to [Person] for handling
```
### Suggested Folder Structure
```
📁 Inbox
├── 📁 Action Required
│ ├── 📁 Today
│ ├── 📁 This Week
│ └── 📁 Waiting For Response
├── 📁 FYI / Read
├── 📁 Reference
│ ├── 📁 Projects
│ ├── 📁 Clients
│ └── 📁 Receipts
└── 📁 Newsletters
```
## Integration Ideas
### Calendar Integration
- Meeting emails → Check/update calendar
- Deadline mentions → Create calendar reminder
### Task Integration
- Action items → Create tasks
- Follow-ups → Set reminder
### CRM Integration
- Client emails → Log in CRM
- Lead inquiries → Create lead record
## Limitations
- Cannot access email accounts directly
- Classification is based on content provided
- May miss context from email threads
- Cannot guarantee phishing detection
- Personal judgment needed for edge cases
© claude-office-skills · MIT · claude-office-skills/skills