Installation
SKILL.md
Email Engineering
Purpose
Email is deceptively fragile in production. Synchronous email in a request handler blocks the user and causes 500s when the mail server is slow. Hardcoded HTML strings break with special characters. Missing unsubscribe links violate CAN-SPAM. This skill enforces queue-based sending with proper HTML templates and handles the edge cases that break email deliverability.
Provider Decision
| Need | Provider |
|---|---|
| Simple setup, excellent DX, modern API | Resend (recommended for new projects) |
| High volume, advanced analytics | SendGrid |
| Self-hosted / cost sensitive | SMTP with Postfix or Amazon SES |
SOP: Email Integration (Resend)
Step 1 - Setup
uv pip install resend jinja2