Skip to content

Services

Resend

Send emails triggered by your app, such as a booking confirmation, receipt, or sign-in link.

Visit Resend

When someone reserves a seat at a workshop, your app already knows their email address and the date they picked. It can pass those details to Resend with a subject and message. Resend attempts delivery and records what happened to the email.

Make a sample booking using your own address. Check the message on your phone and compare its date and location with the booking page. That way you test both delivery and the details your guest will rely on.

When to use it
When your product needs to send emails on its own, and you want a free plan and setup guides for tools like Next.js.
What it costs
Free plan sends 3,000 emails a month, up to 100 a day, with no credit card. Pro is $20 a month for 50,000 emails. Checked 9 Nov 2026.

Send emails with Resend

Use Resend to send one email your product needs, such as a welcome note or receipt. First you verify a domain you own.

You’ll need

  • A website or app you started, open in your AI tool.
  • PLAN.md from the Plan your idea guide.
  • A domain you own, like yourname.com, and the sign-in for its DNS settings. You can buy one first if you don’t have one.
  • Resend account.

Your part

  • Create the Resend account and the API key.
  • Add the DNS records where you manage your domain.
  • Check your own inboxes, and the spam folder, for the test emails.

Copy the prompt for these steps

All 5 steps, in one prompt
I’m following “Send emails with Resend” on BuildLadder.
What the guide says I’ll end up with: Your product sends one real email from your own domain, and you’ve checked that it lands in an inbox.
This comes from https://buildladder.com/tools/resend#email. If you can open web pages, read https://buildladder.com/tools/resend.md for the current version. BuildLadder guide, tool, concept, answer and setup pages all work this way: add .md to the address.

How to work with me:
- Go through the steps below in order, one at a time.
- Do what you can yourself in this folder: write code, run commands, check settings. If a service has an official command-line tool, like the Vercel CLI, you can offer to use it. Ask me before you install anything, sign in to anything or spend money.
- When a step needs me, like making an account or clicking in a dashboard, tell me exactly what to do in small steps. Then wait until I say it’s done.
- The actions, checks and fixes in each step were written for me, the reader. Where one says “your AI tool”, that means you, and “Say:” means something I would say to you.
- Never ask me to paste passwords or secret keys into this chat. I type those into the service’s own settings.
- After each step, tell me how to check it worked. Once Git is set up, save a version each time a step works. Then ask if I’m ready for the next one.
- Use plain words. I may never have coded before.

## Step 1 of 5: Create a Resend account

This step is mine to do. Walk me through it, one action at a time:
- Go to resend.com/signup and create an account. You can sign up with your Google or GitHub account.
- Stay on the Free plan for now.
- Note the email address you signed up with. Your first test email goes there.

It worked when: You can sign in and see the Resend dashboard.

## Step 2 of 5: Verify your sending domain

This step is mine to do. Walk me through it, one action at a time:
- Open Resend’s Domains page and click Add Domain.
- Enter a subdomain of your domain, like updates.yourname.com. Resend recommends a subdomain for app emails.
- Choose the region closest to most of the people you’ll email.
- Open the Records tab. In another browser tab, sign in where you manage your domain and open its DNS settings.
- Add every record from the Records tab. Copy and paste each name and value exactly, with nothing extra.
- If your domain uses Cloudflare, set the cloud icon on these records to gray, which means DNS only.
- Wait for Resend to verify the records. It often takes about 15 minutes, and can take up to 72 hours. You can carry on with “Create a key and save it in .env” while you wait.
- After the domain is verified, ask your AI tool to help add a DMARC record. It helps receiving mail services check who sent the message.

It worked when: Your domain shows as verified on the Resend Domains page.

If something goes wrong:
- You don’t own a domain yet. Buy one first. Until then, you can still send test emails to your own address.
- It still won’t verify after a few hours. Compare each record with the Records tab, letter by letter. Make sure you added them where your domain’s DNS is really managed. If it’s still waiting after 72 hours, click Restart verification.
- Your DNS settings add your domain to the end of a value. Type a period at the very end of that value. It tells your DNS settings to leave the value alone.

## Step 3 of 5: Create a key and save it in .env

This step is mine to do. Walk me through it, one action at a time:
- Open Resend’s API keys page and start creating a key. Give it your product’s name.
- Give the key permission to send email, and limit it to your sending domain if that option is available.
- Copy the key into your password manager when it is shown.
- In your product’s folder, open the file named .env. If there isn’t one, ask your AI tool to create an empty one, then open it yourself.
- Add one line: RESEND_API_KEY= followed by your key, with no spaces. Save the file.
- Don’t save a version in Git yet. “Send one email your product needs” first checks that Git ignores .env.

It worked when: Your .env file has one line that starts RESEND_API_KEY= and holds your key.

If something goes wrong:
- You lost the key or pasted it somewhere public. Remove it on the API keys page and create a new one. Then update the line in .env.

## Step 4 of 5: Send one email your product needs

Read PLAN.md in this folder. It has my plan and the tools I chose.

I want my product to send one email using Resend. Pick the one email from my plan that matters most, like a welcome email after sign-up or a receipt after payment. If my plan has neither, suggest an email to me whenever someone sends my contact form. Tell me which one and wait for my OK.

Before you write code:
- Check that .env is listed in .gitignore. If it isn’t, add it. Don’t open or print .env.
- Create .env.example with only the variable name RESEND_API_KEY and no value.
- Check Resend’s current official docs for my framework, and use Resend’s official library.

Then build it:
- Send the email only from server code, like an API route or a server function. Never send it from the browser or the phone app.
- Read the key from the RESEND_API_KEY environment variable. Never put the key in code, logs or Git.
- Never use a variable name the browser or app can read, such as one starting with NEXT_PUBLIC_ or EXPO_PUBLIC_.
- If my product has no server part yet, suggest the simplest one for my setup and ask me first.
- Check the error Resend sends back, and log the email’s ID. If sending fails, the rest of the product must keep working. For example, sign-up should still finish.
- Until my domain is verified, send from onboarding@resend.dev to my own email address only. Make the sender address one setting that’s easy to change later.
- Use a real sender name and an address people can reply to, not a “no-reply” address.

Work with my existing code and keep everything that already works. Ask before making a big change.

When you’re done, explain what you changed in plain words and tell me exactly how to make the email send. Then send one test to delivered@resend.dev, so I can see it marked as delivered on Resend’s Emails page.

It worked when: Your product sends the email when you do the action, and it shows on Resend’s Emails page.

Before we move on, check with me:
- Did the email arrive at your own address?

If something goes wrong:
- It says the API key is invalid. Check that the line in .env starts with RESEND_API_KEY= and has no spaces. Then restart your product so it reads the file again.
- Emails to anyone except you fail. That’s expected until your domain is verified. Then ask your AI tool to send from an address at your domain.
- Sign-up breaks when the email fails. For an optional welcome email, ask your AI tool to show a retryable error without blocking sign-up. Email confirmation still needs to work before the account is confirmed.

## Step 5 of 5: Check it lands in the inbox

This step is mine to do. Walk me through it, one action at a time:
- Once your domain is verified, ask your AI tool to change the sender to an address at it, like hello@updates.yourname.com.
- Make the email send the real way, like signing up with a new account. Use a Gmail address and one other inbox, like Outlook.
- On Resend’s Emails page, open your test email and check whether the receiving mail server accepted it.
- Open each inbox. If the email isn’t there, look in the spam or junk folder.
- If the email lands in spam, open its details in Resend and choose Insights. Review the checks it shows, ask your AI tool to fix them, then try again.

It worked when: Your email arrives in the main inbox, sent from your own domain.

Before we move on, check with me:
- Do the sender name and address look right?

If something goes wrong:
- It still lands in spam. New domains need time to earn trust. Keep the email simple, and send a few at a time at first.
- It works on your computer but not online. Your host needs the key too. Add RESEND_API_KEY in its settings, then put your product online again.

The steps

  • Steps marked AI tool are done by your AI tool when you paste the prompt. The rest are yours.
  • Save a version after every step that works.
  • If a screen looks different from a step, ask your AI tool where the setting moved.
  • Never paste a password or secret key into the chat.
  1. Resend, ready to send

    Create a Resend account

    You

    Your product sends email through your Resend account, so you make that first.

    1. Go to resend.com/signup and create an account. You can sign up with your Google or GitHub account.
    2. Stay on the Free plan for now.
    3. Note the email address you signed up with. Your first test email goes there.

    It worked when: You can sign in and see the Resend dashboard.

  2. Verify your sending domain

    You

    Inboxes trust email more when the sender proves the domain is theirs. You prove it by copying a few DNS records from Resend into your domain’s settings.

    1. Open Resend’s Domains page and click Add Domain.
    2. Enter a subdomain of your domain, like updates.yourname.com. Resend recommends a subdomain for app emails.
    3. Choose the region closest to most of the people you’ll email.
    4. Open the Records tab. In another browser tab, sign in where you manage your domain and open its DNS settings.
    5. Add every record from the Records tab. Copy and paste each name and value exactly, with nothing extra.
    6. If your domain uses Cloudflare, set the cloud icon on these records to gray, which means DNS only.
    7. Wait for Resend to verify the records. It often takes about 15 minutes, and can take up to 72 hours. You can carry on with “Create a key and save it in .env” while you wait.
    8. After the domain is verified, ask your AI tool to help add a DMARC record. It helps receiving mail services check who sent the message.

    It worked when: Your domain shows as verified on the Resend Domains page.

    You don’t own a domain yet.

    Buy one first. Until then, you can still send test emails to your own address.

    It still won’t verify after a few hours.

    Compare each record with the Records tab, letter by letter. Make sure you added them where your domain’s DNS is really managed. If it’s still waiting after 72 hours, click Restart verification.

    Your DNS settings add your domain to the end of a value.

    Type a period at the very end of that value. It tells your DNS settings to leave the value alone.

  3. Create a key and save it in .env

    You

    An API key is a secret code that lets your product send email through your account. It goes in a file called .env, which stays on your computer.

    1. Open Resend’s API keys page and start creating a key. Give it your product’s name.
    2. Give the key permission to send email, and limit it to your sending domain if that option is available.
    3. Copy the key into your password manager when it is shown.
    4. In your product’s folder, open the file named .env. If there isn’t one, ask your AI tool to create an empty one, then open it yourself.
    5. Add one line: RESEND_API_KEY= followed by your key, with no spaces. Save the file.
    6. Don’t save a version in Git yet. “Send one email your product needs” first checks that Git ignores .env.

    It worked when: Your .env file has one line that starts RESEND_API_KEY= and holds your key.

    You lost the key or pasted it somewhere public.

    Remove it on the API keys page and create a new one. Then update the line in .env.

  4. Your first email

    Send one email your product needs

    AI tool

    Your AI tool adds one email from your plan, like a welcome note or a receipt. Your product’s server sends it, so the key stays secret.

    It worked when: Your product sends the email when you do the action, and it shows on Resend’s Emails page.

    Check this step
    • Did the email arrive at your own address?
    It says the API key is invalid.

    Check that the line in .env starts with RESEND_API_KEY= and has no spaces. Then restart your product so it reads the file again.

    Emails to anyone except you fail.

    That’s expected until your domain is verified. Then ask your AI tool to send from an address at your domain.

    Sign-up breaks when the email fails.

    For an optional welcome email, ask your AI tool to show a retryable error without blocking sign-up. Email confirmation still needs to work before the account is confirmed.

  5. Check it lands in the inbox

    You

    An email can be delivered and still land in spam. Send it from your verified domain to real inboxes, and look where it ends up.

    1. Once your domain is verified, ask your AI tool to change the sender to an address at it, like hello@updates.yourname.com.
    2. Make the email send the real way, like signing up with a new account. Use a Gmail address and one other inbox, like Outlook.
    3. On Resend’s Emails page, open your test email and check whether the receiving mail server accepted it.
    4. Open each inbox. If the email isn’t there, look in the spam or junk folder.
    5. If the email lands in spam, open its details in Resend and choose Insights. Review the checks it shows, ask your AI tool to fix them, then try again.

    It worked when: Your email arrives in the main inbox, sent from your own domain.

    Check this step
    • Do the sender name and address look right?
    It still lands in spam.

    New domains need time to earn trust. Keep the email simple, and send a few at a time at first.

    It works on your computer but not online.

    Your host needs the key too. Add RESEND_API_KEY in its settings, then put your product online again.

Compare Resend with the other options

Stuck? Try these, in order
  1. Stop asking it to “fix it”. Say exactly what’s wrong.

    Paste this into the same chat. It asks your AI tool to find the problem with you.

    Troubleshooting prompt
    I’m following “Resend” on BuildLadder and something isn’t working.
    This comes from https://buildladder.com/tools/resend. If you can open web pages, read https://buildladder.com/tools/resend.md for the current version. BuildLadder guide, tool, concept, answer and setup pages all work this way: add .md to the address.
    
    Ask me which step I’m on, what I tried and what happened, one question at a time. Look at the files in this folder if you can. Then explain the problem in plain words and suggest the smallest fix. Don’t change anything that already works.

  2. Check the service isn’t down.

    If you use one of these, open its status page before changing any code: Supabase, Vercel, Netlify, Cloudflare, Stripe, Clerk, Firebase, Resend, GitHub, Expo, Claude, OpenAI.

  3. Go back to your last saved version.
    Troubleshooting prompt
    Take my product back to the last saved version that worked. First show me which version that is and what will change. Don’t delete anything else.

  4. Make the change smaller.
    Troubleshooting prompt
    Let’s make a smaller change. Undo what you just tried. Then do only the first part of it, and tell me how to check that part works before we go on.

  5. Ask a person.

    Copy this, fill in each line, and post it in a community like r/vibecoding. Take out any keys or passwords first.

    Problem report
    What I'm building: (one sentence)
    What I asked my AI tool to do: (the last request)
    What I expected: (what should happen)
    What happened instead: (what you see)
    The exact error, if any: (copy it here)
    What I've tried: (each attempt, in order)
    My tools: (AI tool, website or app, hosting)

Look things up

Questions people ask

Words used on this page

Sending domain
A sending domain is the domain your app’s emails come from, like updates.yourname.com. You prove it’s yours with a few DNS settings, so inboxes trust your emails more.
Subdomain
A subdomain is a name in front of your domain, like www.yourname.com or shop.yourname.com. It’s free to make, and each one can point somewhere different.
DNS
DNS, short for Domain Name System, is the internet's address book. It matches a domain name like example.com to the computer that holds your website.
DNS record
A DNS record is one line in your domain’s settings. It tells the internet where to send visitors, such as to your hosting service.
DMARC
DMARC is a DNS record that tells inboxes what to do with email that fails the SPF and DKIM checks for your domain: deliver it anyway, send it to spam, or turn it away.
API key
An API key is a long code that tells a service your app is allowed to use it. Many keys are secret, so treat them like passwords and keep them out of shared code.
Environment variable
An environment variable is a named setting stored outside your code, such as an API key or a database address. Your app reads it when it runs, so secrets stay out of your shared files.
Backend
The backend is the behind-the-scenes part of an app that visitors never see. It runs on a server, where it saves data and checks who is signed in.
Hosting
Hosting is a service that keeps your website on computers that stay online, so anyone can visit anytime. Many hosts have a free plan for small sites.

Official pages

Updated · Resend