# Ticket: Email Integration (Optional) ## Ticket Information - **ID**: TICKET-036 - **Title**: Email Integration (Optional) - **Type**: Feature - **Priority**: Low - **Status**: Backlog - **Track**: Tools/MCP - **Milestone**: Milestone 4 - Optional Integrations - **Created**: 2024-01-XX ## Description Implement email tools (optional, after MVP): - Tools: draft_email, send_email, list_recent_emails - Confirmation gate before send - IMAP/SMTP integration - Security and authentication ## Acceptance Criteria - [ ] Email tools implemented - [ ] draft_email tool working - [ ] send_email with confirmation - [ ] list_recent_emails working - [ ] Confirmation flow enforced - [ ] Tools registered in MCP server ## Technical Details Implementation: - IMAP for reading emails - SMTP for sending - OAuth or app passwords for auth - Confirmation: require explicit approval before send Tools: - `draft_email`: Create email draft - `send_email`: Send (with confirmation) - `list_recent_emails`: List inbox - `read_email`: Read specific email ## Dependencies - TICKET-045 (confirmation flows) - TICKET-029 (MCP server) - Strong safety design ## Related Files - `home-voice-agent/mcp-server/tools/email/` (to be created) ## Notes High-risk tool. Requires strong confirmation flow. Do after MVP.