Introduction
Send professional transactional emails automatically when payment events occur. Deliver payment confirmations, subscription updates, and important notifications with Resend’s reliable email infrastructure and excellent deliverability rates.This integration requires your Resend API Key for authentication.
Getting Started
1
Open the Webhook Section
In your Dodo Payments dashboard, navigate to Webhooks → + Add Endpoint and expand the integrations dropdown.

2
Select Resend
Choose the Resend integration card.
3
Enter API Key
Provide your Resend API Key in the configuration.
4
Configure Transformation
Edit the transformation code to format emails for Resend’s API.
5
Test & Create
Test with sample payloads and click Create to activate the email sending.
6
Done!
🎉 Payment events will now automatically trigger transactional emails via Resend.
Transformation Code Examples
Payment Confirmation Email
payment_confirmation.js
Subscription Welcome Email
subscription_welcome.js
Payment Failure Notification
payment_failure.js
Tips
- Use verified sender domains for better deliverability
- Include both HTML and text versions of emails
- Personalize content with customer data
- Use clear, action-oriented subject lines
- Include unsubscribe links for compliance
- Test email templates before going live
Troubleshooting
Emails not being sent
Emails not being sent
- Verify API Key is correct and active
- Check that sender domain is verified in Resend
- Ensure recipient email addresses are valid
- Review Resend sending limits and quotas
Transformation errors
Transformation errors
- Validate JSON structure matches Resend API format
- Check that all required fields are present
- Ensure HTML content is properly formatted
- Verify from email address is verified