Docs/Resend
Resend
Resend sends email from your own verified domain. Once connected, your site emails you on each form submission, and can also send at other moments (confirmation, alert).
What your site can do with Resend
- Receive an email for every form a visitor submits
- Send from your verified domain (otherwise the test address lands in spam)
- Include the visitor's email so you can reply directly
Common use cases
| Example app | Example prompt | What happens |
|---|---|---|
| Contact form to inbox | Use Resend and email me every time the contact form is submitted. | Each submission arrives in your inbox with the visitor's message and reply-to address. |
| Order confirmation | Use Resend and send a confirmation email after checkout. | When a purchase completes, the site sends a confirmation through your Resend account. |
| Big-order alert | Use Resend and email me when an order over 500 is placed. | The site watches for matching events and emails you so you can act immediately. |
| Welcome email | Use Resend and send a welcome email when a new account is created. | New signups receive a welcome message from your verified domain. |
Prerequisites
- A Resend account
- A Resend API key (starts with re_)
- A verified domain in Resend to email anyone other than yourself
Set up Resend
- Create a Resend account and open API Keys.
- Click Create API Key, name it (e.g. Codunk), and choose Sending access.
- Copy the key (it starts with re_ and is shown only once).
- In the Studio, open Connectors → Resend and paste the key + a destination email.
- To reach recipients other than yourself, verify your domain in Resend (Domains → Add Domain, add the SPF/DKIM records) and set your sender email to that domain.
- Republish the site so the connection is live.
Limitations
- The form relay sends to the site owner (the destination you configured), not to the visitor.
- Without a verified domain, mail is sent from Resend's test address and only reaches your own inbox (and often lands in spam).
- Attachments and advanced cc/bcc are not exposed yet.
- Every email counts toward your Resend plan and is billed by Resend, not Codunk.