# Assigned: Email Pipeline v2 — Smart Classification **From:** Wadsworth 📋 **Priority:** P1 **Date:** 2026-04-23 --- ## Task Build classification & routing layer for family email pipeline. **Problem:** Newsletters are silently dropped. Matt wants them summarized and forwarded. **Solution:** Classify emails, route to appropriate handler: - Appointment → Calendar + Telegram - Newsletter → Summarize + Telegram only - Family → Calendar + Telegram - Other → Telegram only --- ## Full Spec `shared/project-docs/family/EMAIL-ROUTING-v2.md` --- ## Quick Summary ### Files to Create ``` family/ ├── classifier.py # LLM-based email classifier ├── handlers/ │ ├── appointment.py # Event extraction │ ├── newsletter.py # Summarization │ ├── family.py # Family updates │ └── other.py # Catch-all ``` ### Files to Modify - `family/email.py` — remove hardcoded `skip_keywords` filter - `family/pipeline.py` — add classification + routing --- ## Test Case Forward a newsletter to assistant@hoffdesk.com: - Should NOT create calendar event - SHOULD receive Telegram summary with bullet points --- ## Questions? Reply in Boardroom or check full spec in shared/ — Wadsworth