Docs/Resend
Resend
Resend sends email from your own verified domain. Once connected, your site emails you on each form submission and can also alert you at other moments (new signup, order…). Forms and alerts only reach your own address; the site cannot email your customers. Only your app's sign-in codes go to your users, from your sender address when it is set.
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. |
| 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. |
| New signup alert | Use Resend and email me when a new account is created. | You get an email for each new signup, so you can follow up personally. |
Prerequisites
- A Resend account
- A Resend API key (starts with re_)
- A verified domain in Resend to send from your own address (otherwise Resend only delivers to your Resend account's email)
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 send from your own address (and receive alerts on an address other than your Resend account's), 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.
- Apart from your app's sign-in codes, the site cannot email your users or their customers (follow-ups, reminders, confirmations), nor schedule sends: only you receive its alerts.
- Without a verified domain, mail is sent from Resend's test address and only reaches your Resend account's email (often in spam). A verified domain lets you send from your own address; it does not let the site email your customers.
- Attachments and advanced cc/bcc are not exposed yet.
- Every email counts toward your Resend plan and is billed by Resend, not Codunk.