Email Setup
Configure Resend to send beautiful transactional emails
What is Resend?
Modern email API for developers
Resend provides a simple API for sending transactional emails. Echo uses Resend with React Email templates to send welcome emails, purchase confirmations, and password resets.
Create Resend Account
Sign up for Resend
- Go to resend.com and create an account
- Verify your email address
- Complete account setup
Get API Key
Copy your Resend API key
- Go to API Keys in Resend dashboard
- Click Create API Key
- Give it a name (e.g., "Echo Production")
- Select permissions (Sending access)
- Copy the API key (starts with
re_)
Verify Your Domain (Optional but Recommended)
Send emails from your own domain
Note:
You can use onboarding@resend.dev for testing, but you can only send emails to your own account email. For production, verify your domain.
- Go to Domains in Resend dashboard
- Click Add Domain
- Enter your domain (e.g.,
yourdomain.com) - Add the DNS records Resend provides to your domain registrar
- Wait for verification (usually a few minutes)
- Update
EMAIL_FROMto use your verified domain
Email Templates Included
Pre-built React Email templates
Welcome Email
Sent when users create an account
Purchase Confirmation
Sent after successful CLI purchase
Password Reset
Sent when users request password reset
Testing Emails
Test your email configuration
Test Endpoint:
Use the test endpoint to send test emails:
Available Templates:
- •
welcome- Welcome email - •
purchase- Purchase confirmation - •
reset- Password reset
Troubleshooting
Emails not sending
Check that RESEND_API_KEY is set correctly
Domain not verified
If using onboarding@resend.dev, you can only send to your Resend account email
Check Resend Dashboard
Go to Resend dashboard → Logs to see delivery status and errors