What problem does it solve?
This Skill standardizes email sending operations using Resend, ensuring all transactional emails, batch sends, and newsletters are resilient, consistently formatted, and properly monitored with Sentry.
Core Features & Use Cases
- Resilient Email Service: Enforces the
ResendService pattern with circuit breaker protection and retry logic for reliable email delivery.
- Flexible Template Management: Guides the use of inline HTML, React Email templates, or Resend API templates for various email complexities.
- Batch & Broadcast Handling: Ensures proper implementation of batch sending with rate limiting and newsletter broadcasts with mandatory unsubscribe links.
- Use Case: When drafting a new 'Welcome' email for new users, this Skill ensures the email uses a React Email template, is sent via
ResendService.sendEmailAsync, includes retry logic, and logs Sentry breadcrumbs upon successful delivery.
Quick Start
Draft a new email service method to send a 'Welcome' email to a new user, utilizing a React Email template and ensuring it includes retry logic and Sentry breadcrumbs.