Skip to main content

What is Resend?

Resend is a powerful email API platform that makes it easy to send transactional emails at scale. By integrating Resend with your Readdy website, you can:
  • Send appointment confirmation emails
  • Deliver booking notifications
  • Automate customer communication
  • Ensure reliable email delivery
This guide will walk you through setting up Resend integration for appointment and booking scenarios.

1. Basic Configuration

1

Step 1: Connect Supabase Database

Connect your Supabase database to your Readdy project. This database will store booking records and user information.Click the “Tool Case” button at the bottom-right of the input area, then select Supabase to connect.
Tool Case button location
Tool Case screenshot
📖 Learn More: Supabase Integration Documentation
2

Step 2: Sign Up for Resend

Go to https://resend.com and create your account. Complete the registration process and log in to your dashboard.
3

Step 3: Get Your Resend API Key

In your Resend dashboard, navigate to API Keys section.Click Create API Key to generate a new key. Choose appropriate permissions for your use case.
Resend API key creation
Keep your API key secure and never share it publicly. Store it in a safe place as you’ll only see it once during creation.
4

Step 4: Configure Resend in Readdy

Tell Readdy AI that you want to configure Resend for your website and ask it to help you update the Supabase Edge Function.You can use this prompt:
I want to configure Resend for my website. Please help me update the Supabase Edge Function to send reservation confirmation emails.
5

Step 5: Add Resend API Key to Supabase

After Readdy AI updates the Edge Function, you need to manually add your Resend API key to Supabase Secrets.Follow these steps:
  1. Open your project in the Supabase Dashboard
  2. Navigate to Edge Functions in the left sidebar
  3. Click Secrets to manage environment variables
  4. In the Name field, enter: RESEND_API_KEY
  5. In the Value field, paste your Resend API key from Step 3
  6. Click Save to save the secret
Supabase Edge Functions Secrets
Make sure to enter RESEND_API_KEY in all caps. The name must match exactly what’s in the Edge Function code, otherwise the function won’t be able to access your API key.

2. Testing and Verification

After connecting Resend, you’ll need to test the email sending functionality to verify everything is working correctly.
1

Step 1: Test Email Sending

In the preview interface, trigger an email send (e.g., fill out and submit a form that sends an email) to verify email sending works correctly.
2

Step 2: Verify Email Delivery

Check your email inbox to confirm you received the test email.
The email will be sent from Resend’s default domain @resend.dev. Later, you can configure a custom domain to send emails from your own domain (e.g., [email protected]).
3

Step 3: Check Database Records (Optional)

If your email trigger involves storing data (e.g., form submissions), check your Supabase dashboard to verify that the records were successfully stored in the database.
You can ask Readdy AI to help set up database storage for your form submissions.If you’re using Supabase to store form data, each submission should create a corresponding record with all the user-submitted information. You can export this data later for analysis or follow-up.

3. Branding Setup

To send emails from your own domain (e.g., [email protected]) instead of Resend’s default domain (@resend.dev), you’ll need to verify your domain with Resend. Choose the scenario that matches your situation:
If you already own a domain (e.g., from GoDaddy, Cloudflare, or another provider), follow these steps to configure it for Resend:
1

Step 1: Add Your Domain in Resend

In your Resend dashboard, go to Domains and click Add Domain.Enter your existing domain name and click Add.
Add domain in Resend
2

Step 2: Copy DNS Records from Resend

Resend will display the DNS records you need to configure. Copy these records.You’ll need to add the following records:
  • MX records (2) for email sending and receiving
  • TXT record for SPF authentication
  • TXT record for DKIM authentication
  • TXT record for DMARC (optional)
3

Step 3: Configure DNS at Your Domain Provider

Log in to your domain provider account and navigate to DNS Management for your domain.Add the following DNS records from Resend:
Type
Name
Value
Priority
Purpose
MXsendfeedback-smtp.us-east-1.amazonses.com10Enable Sending
MX@inbound-smtp.us-east-1.amazonses.com10Enable Receiving
TXTsendv=spf1 include:amazonses.com ~all-SPF Authentication
TXTresend._domainkeyp=your-dkim-key-value-DKIM Authentication
TXT_dmarcv=DMARC1; p=none;-DMARC (Optional)
The actual values will be different in your Resend dashboard. Always copy the exact values from Resend, not from this documentation.
DNS configuration steps are similar across most domain providers. Refer to your provider’s help documentation if you need specific guidance.
4

Step 4: Verify Domain in Resend

Return to Resend and click Verify Domain.
DNS propagation typically takes 5-30 minutes, but can take up to 48 hours in some cases. If verification doesn’t work immediately, wait a few minutes and try again.
Once verified, you can now send emails from your custom domain.
5

Step 5: Update Email Sender in Readdy

Tell Readdy to update the email sender address to use your verified custom domain:
Update the email sender to use [email protected]
Replace yourdomain.com with your actual verified domain name.
If you don’t have a domain yet, we recommend purchasing one first. You can buy a domain from a domain provider like GoDaddy, Cloudflare, or Namecheap, then follow the steps in “I Already Have a Domain” above.Alternatively, you can purchase your domain directly through Readdy and use it for both your website and email branding:
1

Step 1: Purchase Domain in Readdy

In your Readdy project, click Publish and select Purchase a new domain.
Purchase domain in Readdy
📖 Learn More: Complete Guide to Purchasing Domains in Readdy
2

Step 2: Add Domain in Resend

After purchasing, follow the steps in “I Already Have a Domain” above:
  • Add your domain in Resend dashboard
  • Copy the DNS records provided by Resend (MX x2, TXT SPF, TXT DKIM, TXT DMARC)
3

Step 3: Configure DNS Records

Since your domain is managed by Readdy, you can configure DNS records through your Readdy project settings.Add the following records provided by Resend:
  • MX records (2) for email sending and receiving
  • TXT record for SPF authentication
  • TXT record for DKIM authentication
  • TXT record for DMARC (optional)
4

Step 4: Verify and Update

  • Verify your domain in Resend (wait 5-30 minutes for DNS propagation)
  • Tell Readdy to update the email sender to use your custom domain
This method is more streamlined as both your website and email use the same domain management system.

Troubleshooting

Email Not Sending

If emails are not being sent:
  1. Check your Resend API key - Ensure it’s valid and hasn’t been revoked
  2. Verify domain status - If using a custom domain, make sure it’s verified
  3. Check Supabase connection - Ensure database is properly connected
  4. Review Resend logs - Check your Resend dashboard for error messages

Email Not Arriving

If the API call succeeds but emails don’t arrive:
  1. Check spam folder - The email might be in the recipient’s spam folder
  2. Verify email address - Ensure the recipient email address is correct
  3. Check sending limits - Verify you haven’t exceeded your Resend quota
  4. Review DNS settings - If using a custom domain, ensure DNS records are correct

Database Not Recording Bookings

If booking data isn’t being saved, ask Readdy AI to help check the database configuration and set up data storage for you.

Need Help?

Contact Support

Thank you for using Readdy and Resend. Happy sending! 📧