Methodologygeneric

Email Classifier

Automatically categorize emails by type, priority, and required action

claude-office-skills/skills
View source

Install

npx skills add https://github.com/claude-office-skills/skills --skill email-classifier

Use with your agent

ClaudeCursorOpenAIGemini

Install the Email Classifier skill, then use it as build context. Run: npx skills add https://github.com/claude-office-skills/skills --skill email-classifier. Then read the installed skill.md and follow its guidance to build or refactor my project.

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

CategoryDescriptionExamples
Action RequiredNeeds your response/actionRequests, approvals, questions
FYIInformational, no action neededUpdates, announcements, reports
WaitingYou're waiting for othersFollow-ups, pending responses
DelegatedForward to someone elseWrong recipient, team matters
ArchiveKeep but no actionConfirmations, receipts
DeleteLow value, can removeSpam, irrelevant promos

Email Types

TypeDescription
MeetingInvites, updates, cancellations
Task/RequestSomeone asking you to do something
QuestionNeeds your answer
Update/ReportStatus updates, progress reports
ApprovalNeeds your sign-off
NewsletterSubscribed content
MarketingPromotional content
Alert/NotificationSystem alerts, notifications
PersonalNon-work related
Spam/PhishingUnwanted or suspicious

Priority Levels

PriorityResponse TimeIndicators
๐Ÿ”ด UrgentWithin hoursDeadline today, executive request, blocking issue
๐ŸŸ  HighWithin 24hImportant client, time-sensitive, direct request
๐ŸŸก NormalWithin weekStandard requests, routine matters
๐ŸŸข LowWhen convenientFYI, 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

## 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

## 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

## 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

## 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

## 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