Build email sending with templates, queue, and tracking
Implement email service for {{APPLICATION}}:
Email types needed:
{{EMAIL_TYPES}}
Requirements:
1. Template-based emails (HTML + text)
2. Queue for background sending
3. Retry logic for failed sends
4. Open/click tracking
5. Unsubscribe management
6. Email verification flow
7. Welcome email sequence
8. Transactional email provider integration
Provide:
- Email service abstraction
- Template engine setup
- Email queue with BullMQ
- Provider integration (Resend/SendGrid)
- Email templates for each type
- Tracking pixel implementation
- Unsubscribe link generation
- Email verification flowAdding email functionality to apps