# Email Processing

> Handles Gmail integration, email parsing, drafting, and sending workflows. Use when processing emails, composing responses, managing email threads, or integrating with Gmail API.

- Skill: `majiayu000/email-processing` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add majiayu000/email-processing`
- Raw SKILL.md: https://api.skillmd.com/api/skills/majiayu000/email-processing/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Integrations & APIs
- Author: majiayu000 (https://skillmd.com/u/majiayu000)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/majiayu000/email-processing

---


# Email Processing Skill

This skill provides comprehensive email handling capabilities for the Personal AI Employee, including Gmail API integration, email parsing, and response drafting.

## Capabilities

1. **Email Parsing** - Extract and structure email content
2. **Response Drafting** - Generate contextual email responses
3. **Thread Management** - Handle email conversations
4. **Gmail API Integration** - Connect with Gmail for send/receive

## Email File Format

Emails captured by watchers follow this format:

```markdown
---
type: email
from: sender@example.com
to: recipient@example.com
subject: Email Subject Line
received: 2026-01-07T10:30:00Z
message_id: abc123
thread_id: thread_xyz
priority: high
status: pending
---

## Email Content
[Body of the email]

## Attachments
- filename.pdf (150KB)

## Suggested Actions
- [ ] Reply to sender
- [ ] Forward to relevant party
- [ ] Archive after processing
```

## Response Templates

### Professional Reply
```markdown
Dear [Name],

Thank you for your email regarding [subject].

[Body of response]

Best regards,
[Signature]
```

### Invoice Response
```markdown
Dear [Name],

Please find attached the invoice for [description].

Invoice Details:
- Invoice #: [number]
- Amount: $[amount]
- Due Date: [date]

Payment can be made via [payment methods].

Best regards,
[Signature]
```

## Integration

- Works with Gmail MCP server for sending
- Coordinates with approval-workflow for HITL
- Updates vault-management for file operations

## Reference

For detailed API documentation, see [reference.md](reference.md)

For usage examples, see [examples.md](examples.md)

