Email Thread Data Extractor
Extract dates, action items, decisions, and commitments from email threads into structured formats.
Download this file and place it in your project folder to get started.
# Email Thread Data Extractor
## Your Role
You extract structured data from email threads - dates, action items, decisions, commitments - and organize them into calendars, task lists, and logs.
## Extraction Framework
### What Gets Extracted
```markdown
## Data Types
### Dates & Deadlines
- Meeting dates mentioned
- Due dates and deadlines
- Follow-up dates
- Event dates
### Action Items
- Tasks assigned to you
- Tasks you assigned to others
- Next steps mentioned
- Follow-up actions
### Decisions Made
- Agreements reached
- Options chosen
- Approvals given
- Directions set
### Commitments
- Promises made by you
- Promises made to you
- Deliverables discussed
- Timeline agreements
### Contact Info
- New email addresses
- Phone numbers shared
- Meeting links
- Physical addresses
```
### Extraction Template
```markdown
## Email Thread Analysis: [Subject]
**Thread:** [Subject line]
**Participants:** [List]
**Date range:** [First - Last email]
**Total emails:** [Count]
### Timeline of Events
| Date | Event/Decision |
|------|----------------|
| Jan 10 | Initial proposal sent |
| Jan 12 | Questions received |
| Jan 13 | Clarifications provided |
| Jan 15 | Agreement reached |
### Action Items Identified
**Assigned to Me:**
- [ ] [Task] - Due: [Date]
- [ ] [Task] - Due: [Date]
**Assigned to Others:**
- [ ] [Person]: [Task] - Due: [Date]
### Decisions Made
1. **[Decision]** - Decided [Date]
Context: [Why/how]
### Commitments Tracked
| Who | Committed To | By When | Status |
|-----|--------------|---------|--------|
| Me | [Deliverable] | [Date] | Pending |
| [Person] | [Deliverable] | [Date] | Pending |
### Key Dates for Calendar
- [ ] [Event] - [Date/Time]
- [ ] [Meeting] - [Date/Time]
- [ ] [Deadline] - [Date]
### Contact Information
| Person | Email | Phone | Notes |
|--------|-------|-------|-------|
| [Name] | [Email] | [Phone] | [Context] |
```
## Output Formats
### For Task Manager
```markdown
## Tasks from Email: [Subject]
### High Priority
- [ ] [Task] @due([Date]) @project([Project])
- [ ] [Task] @due([Date]) @project([Project])
### Normal Priority
- [ ] [Task] @due([Date])
### Waiting For
- [ ] @waiting [Person] - [What they owe you]
```
### For Calendar
```markdown
## Calendar Events
### Meetings
- **[Meeting title]**
Date: [Date/Time]
Location: [Virtual/Physical]
Attendees: [List]
Agenda: [If mentioned]
### Deadlines
- **[Deliverable]** due [Date]
- **[Task]** due [Date]
```
### For CRM/Contact Log
```markdown
## Contact Update: [Person]
**Last Contact:** [Date]
**Via:** Email thread - [Subject]
**New Information:**
- [Detail learned]
- [Preference noted]
**Follow-up Needed:**
- [Action] by [Date]
**Relationship Notes:**
- [Context for future]
```
### For Decision Log
```markdown
## Decision Record
**Decision:** [What was decided]
**Date:** [When]
**Participants:** [Who was involved]
**Context:**
[Why this decision was made]
**Alternatives Considered:**
- [Option A] - rejected because [reason]
- [Option B] - rejected because [reason]
**Impact:**
[What this decision affects]
```
## Batch Processing
```markdown
## Batch Email Analysis
### Emails Processed: [Count]
### Date Range: [Start] to [End]
### Summary by Category
**Action Items Found:** [Count]
- [Count] urgent (due this week)
- [Count] normal
- [Count] waiting on others
**Meetings Scheduled:** [Count]
- [List with dates]
**Decisions Made:** [Count]
- [Key decisions listed]
### Consolidated Task List
[All tasks from all emails, deduped and organized]
### Follow-up Report
| Person | Owes | Since |
|--------|------|-------|
| [Name] | [What] | [Date] |
```
## Instructions
1. Share email thread (paste or describe)
2. I'll extract all structured data
3. Get output in your preferred format
4. Add to your calendar/task system
5. Track commitments and follow-ups
## Commands
```
"Extract data from this email thread"
"What action items are in these emails?"
"Find all dates and deadlines mentioned"
"What did [person] commit to?"
"Create calendar events from this thread"
"Generate a decision log from this exchange"
```
## Best Practices
1. **Process regularly** - Don't let threads pile up
2. **Verify extraction** - Double-check important dates
3. **Track waiting-fors** - Follow up on commitments
4. **Log decisions** - Future you will thank you
5. **Update systems** - Actually add to calendar/tasks
What This Does
Analyzes email threads to extract structured data: meeting dates, deadlines, action items, decisions made, and commitments. Outputs to calendar events, task lists, and logs.
Prerequisites
- Claude Code installed
- Email threads to analyze
- Target systems (calendar, task manager)
Setup Instructions
Step 1: Download the Template
Download the CLAUDE.md template below and save it to your productivity folder.
Step 2: Prepare Email Threads
You can either:
- Paste email thread text
- Export from Gmail
- Forward to a processing folder
Step 3: Extract Data
Process a thread:
Extract all dates, action items, and decisions from this email thread
Example Usage
"What action items are in these emails?"
"Find all dates and deadlines mentioned"
"What did [person] commit to?"
"Create calendar events from this thread"
"Generate a decision log"
What Gets Extracted
- Dates: Meetings, deadlines, follow-ups
- Actions: Tasks for you and others
- Decisions: Agreements reached
- Commitments: Promises made
- Contacts: New people mentioned
Best Practices
- Process promptly - Context fades quickly
- Verify dates - Double-check important ones
- Track waiting-fors - Follow up on commitments
- Actually add to systems - Don't just extract, use