What problem does it solve?
This solution enables programmatic email sending with the Resend API, providing a fast path to dispatch professional messages without manual composition.
Core Features & Use Cases
- Professional HTML Template: Emails are wrapped in a polished, brand-ready HTML template with responsive design.
- Attachments Support: Attach files by path and include them in the outgoing message.
- Default Recipient and Customization: Falls back to a default recipient if none is provided; supports overriding with --to.
- Environment-based API Key: Reads RESEND_API_KEY from a .env file in the skill directory for secure access.
- Template Toggle: Use --no-template to send raw HTML content without the wrapper.
Use cases include automated transactional emails, onboarding messages, and light-weight newsletters.
Quick Start
Run the Python script from the repository root with a subject and body to send a templated email.