Skip to content

Services · by Amazon Web Services

Amazon SES

Send receipts, alerts, and other emails from an app through Amazon’s email delivery service.

Suppose your app sends a reminder the day before a class. Your code decides which students need a reminder and what it should say. Amazon Simple Email Service, usually called SES, takes care of sending the message from an address you verify.

Start by sending a single reminder to a verified test address. Check the sender name and class time in the inbox. New SES accounts start with sending restrictions, so check your account’s access before planning the first real mailing.

When to use it
When you already use AWS, or you’ll send a lot of email and want to pay per email.
When to skip it
If you need to email people right away. A new account can only email addresses you’ve verified until Amazon approves your request.
What it costs
New accounts start on the Essentials plan at $0.16 per 1,000 emails, or you can switch to $0.10 per 1,000 with no plan. New AWS customers get up to $200 in credits. Prices checked 2026-11-09.

Send emails with Amazon SES

Use Amazon SES to send one email your app needs, such as a welcome note or receipt. You verify a sending domain and ask Amazon to let you email anyone.

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 access to its DNS settings.
  • AWS account. Amazon SES bills this account for the emails you send.

Your part

  • Create the AWS account and choose the Region.
  • Add the DNS records where you manage your domain.
  • Create the SMTP credentials and type them into your .env file.
  • Fill in the request for full access.

Copy the prompt for these steps

All 6 steps, in one prompt
I’m following “Send emails with Amazon SES” on BuildLadder.
What the guide says I’ll end up with: Your app sends one real email from your sending domain through Amazon SES, and you’ve checked that it lands in an inbox.
This comes from https://buildladder.com/tools/amazon-ses#email. If you can open web pages, read https://buildladder.com/tools/amazon-ses.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 6: Open SES and pick a Region

This step is mine to do. Walk me through it, one action at a time:
- Sign in to the AWS console, or create an AWS account.
- Open the SES console at console.aws.amazon.com/ses.
- In the top right, open the Region menu and pick the Region closest to most of the people you’ll email.
- Write down the Region’s name.

It worked when: The Amazon SES console is open in the Region you picked.

Keep for later: The Region’s name, because the other steps only work in that Region.

If something goes wrong:
- You see a Get started wizard instead of the console. That’s Amazon’s setup for first-time users. Follow it, and choose Domain when it asks what to verify. Then carry on with “Verify your sending domain”.

## Step 2 of 6: Verify your sending domain

This step is mine to do. Walk me through it, one action at a time:
- In the left menu, under Configuration, choose Identities. Then choose Create identity.
- Under Identity details, select Domain. Enter your sending domain, like updates.yourname.com. Leave out www.
- Leave the DKIM settings as they are. Choose Create identity.
- On the identity’s page, open the Authentication tab and expand Publish DNS records.
- In another browser tab, open your domain’s DNS settings. Add each CNAME record exactly as SES shows it, including any underscore.
- If your DNS settings have a proxy switch for these records, turn it off.
- Verify your own email address too, so you can test before Amazon lets you email anyone. Choose Create identity again, select Email address, and enter your email. Click the link Amazon sends you.
- Wait for your sending domain to verify. It can take up to 72 hours. While you wait, you can do “Create SMTP credentials and save them in .env”.
- Once it’s verified, ask your AI tool to help you add a DMARC record.

It worked when: Your sending domain’s Identity status says Verified, and its DKIM configuration says Successful.

Before we move on, check with me:
- Does your own email address show as Verified too?

If something goes wrong:
- It still isn’t verified after 72 hours. Compare each record with the console, letter by letter. Make sure you added them where your domain’s DNS is really managed.
- Your sending domain or your credentials have vanished from the console. Check the Region in the top right of the console. Each Region keeps its own domains and SMTP credentials, so switch back to the one you chose.

## Step 3 of 6: Create SMTP credentials and save them in .env

This step is mine to do. Walk me through it, one action at a time:
- In the SES console’s left menu, choose SMTP settings. Then choose Create SMTP Credentials. Amazon’s IAM console opens.
- Keep the suggested User Name, or type your own. Choose Create user.
- Select Show under SMTP password. Choose Download .csv file, because you can’t see the password again.
- Choose Return to SES console.
- 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 SES_SMTP_USER= followed by the user name, and SES_SMTP_PASSWORD= followed by the password, each on its own line. Save the file.
- Delete the .csv file once both lines are saved.

It worked when: Your .env file holds your SMTP user name and password, and it is saved only on your computer.

Before we move on, check with me:
- Do both lines have no spaces around the equals sign?
- Did you create the credentials in the Region you wrote down?

If something goes wrong:
- You lost the password, or pasted it somewhere public. In the IAM console, open Users and delete that SMTP user. Then create new credentials and update your .env file.
- You see an error about permissions when you create them. Your AWS account may lack permission to create SMTP credentials. Ask whoever manages its access permissions to grant the required IAM permissions.
- Your sending domain or your credentials have vanished from the console. Check the Region in the top right of the console. Each Region keeps its own domains and SMTP credentials, so switch back to the one you chose.

## Step 4 of 6: Send one email your app needs

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

I want my app to send one email using Amazon SES over SMTP. 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 names SES_SMTP_USER, SES_SMTP_PASSWORD and SES_REGION, and no values.
- Ask me which AWS Region I chose. I add the SES_REGION line to .env myself.
- Check Amazon’s current SES docs for the SMTP endpoint and port for my Region, and the library my framework should use.

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 credentials from environment variables. Never put them 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 app has no server part yet, suggest the simplest one for my setup and ask me first.
- If sending fails, log the error and keep the rest of the app working. For example, sign-up should still finish.
- Send from an address at my verified sending domain. Make the sender address one setting that’s easy to change.
- My account is in test mode, so send only to my own verified email address for now.
- Use a real sender name and an address people can reply to, not a “no-reply” address.

Keep everything that already works.

It worked when: Your app sends the email when you do the action, and it arrives at your own verified address.

Before we move on, check with me:
- Is the sender an address at your sending domain?

If something goes wrong:
- It says the credentials are wrong. Check both lines in your .env file, then restart your app so it reads the file again. Make sure the endpoint is for the Region you chose.
- Emails to anyone except you fail. That’s test mode, which only emails verified addresses. “Ask Amazon to let you email anyone” lifts it.

## Step 5 of 6: Ask Amazon to let you email anyone

This step is mine to do. Walk me through it, one action at a time:
- In the SES console’s left menu, choose Account dashboard.
- Find the notice that sending is restricted to the sandbox. Open its setup link and request production access.
- Select Transactional if your emails are things like receipts and sign-in codes.
- In Website URL, enter your site’s address. In Additional contacts, add an email where Amazon can reach you.
- Choose your Preferred contact language. Tick the Acknowledgement box only if you’ll email people who asked for it, and handle bounces and complaints.
- Choose Submit request. AWS gives an initial response within 96 hours. Approval may take longer if it needs more information.

It worked when: The Account dashboard no longer says your account is in the sandbox.

If something goes wrong:
- Amazon asks for more details. Reply with what your app does, which emails it sends, and how people sign up to get them. Ask your AI tool to help you write it.
- Your request is turned down. Make sure your website is online and shows what the app does. Then answer Amazon’s questions and ask again.

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

This step is mine to do. Walk me through it, one action at a time:
- Make the email send the real way, like signing up with a new account. Use a Gmail address and one other inbox, like Outlook.
- Open each inbox. If the email isn’t there, look in the spam or junk folder.
- In Gmail, open your test email’s message details and view the original message. Check its authentication results for DMARC.
- List the emails your app sends in PLAN.md.
- If your app is online, add the SES settings from your .env file to your host’s settings. Then put it online again.

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

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

If something goes wrong:
- It lands in spam. New domains need time to earn trust. Add a DMARC record, 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 SES settings too. Add them in its settings, then put your app 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. Your account is ready to send

    Open SES and pick a Region

    You

    Amazon runs SES in many places around the world, called Regions. You pick one, and your sending domain and credentials live there.

    1. Sign in to the AWS console, or create an AWS account.
    2. Open the SES console at console.aws.amazon.com/ses.
    3. In the top right, open the Region menu and pick the Region closest to most of the people you’ll email.
    4. Write down the Region’s name.

    It worked when: The Amazon SES console is open in the Region you picked.

    Keep: The Region’s name, because the other steps only work in that Region.

    You see a Get started wizard instead of the console.

    That’s Amazon’s setup for first-time users. Follow it, and choose Domain when it asks what to verify. Then carry on with “Verify your sending domain”.

  2. Verify your sending domain

    You

    Your sending domain is the address your app’s emails come from. Use a subdomain of your domain, like updates.yourname.com. SES gives you DNS records that prove it’s yours, so inboxes trust your email more.

    1. In the left menu, under Configuration, choose Identities. Then choose Create identity.
    2. Under Identity details, select Domain. Enter your sending domain, like updates.yourname.com. Leave out www.
    3. Leave the DKIM settings as they are. Choose Create identity.
    4. On the identity’s page, open the Authentication tab and expand Publish DNS records.
    5. In another browser tab, open your domain’s DNS settings. Add each CNAME record exactly as SES shows it, including any underscore.
    6. If your DNS settings have a proxy switch for these records, turn it off.
    7. Verify your own email address too, so you can test before Amazon lets you email anyone. Choose Create identity again, select Email address, and enter your email. Click the link Amazon sends you.
    8. Wait for your sending domain to verify. It can take up to 72 hours. While you wait, you can do “Create SMTP credentials and save them in .env”.
    9. Once it’s verified, ask your AI tool to help you add a DMARC record.

    It worked when: Your sending domain’s Identity status says Verified, and its DKIM configuration says Successful.

    Check this step
    • Does your own email address show as Verified too?
    It still isn’t verified after 72 hours.

    Compare each record with the console, letter by letter. Make sure you added them where your domain’s DNS is really managed.

    Your sending domain or your credentials have vanished from the console.

    Check the Region in the top right of the console. Each Region keeps its own domains and SMTP credentials, so switch back to the one you chose.

  3. Create SMTP credentials and save them in .env

    You

    SMTP credentials are a user name and password that let your app send email through SES. They go in your .env file, which stays on your computer.

    1. In the SES console’s left menu, choose SMTP settings. Then choose Create SMTP Credentials. Amazon’s IAM console opens.
    2. Keep the suggested User Name, or type your own. Choose Create user.
    3. Select Show under SMTP password. Choose Download .csv file, because you can’t see the password again.
    4. Choose Return to SES console.
    5. 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.
    6. Add SES_SMTP_USER= followed by the user name, and SES_SMTP_PASSWORD= followed by the password, each on its own line. Save the file.
    7. Delete the .csv file once both lines are saved.

    It worked when: Your .env file holds your SMTP user name and password, and it is saved only on your computer.

    Check this step
    • Do both lines have no spaces around the equals sign?
    • Did you create the credentials in the Region you wrote down?
    You lost the password, or pasted it somewhere public.

    In the IAM console, open Users and delete that SMTP user. Then create new credentials and update your .env file.

    You see an error about permissions when you create them.

    Your AWS account may lack permission to create SMTP credentials. Ask whoever manages its access permissions to grant the required IAM permissions.

    Your sending domain or your credentials have vanished from the console.

    Check the Region in the top right of the console. Each Region keeps its own domains and SMTP credentials, so switch back to the one you chose.

  4. Your app sends real email

    Send one email your app needs

    AI tool

    Add one email from your plan, like a welcome note or a receipt. Your app’s server sends it through SES, so the password stays secret.

    It worked when: Your app sends the email when you do the action, and it arrives at your own verified address.

    Check this step
    • Is the sender an address at your sending domain?
    It says the credentials are wrong.

    Check both lines in your .env file, then restart your app so it reads the file again. Make sure the endpoint is for the Region you chose.

    Emails to anyone except you fail.

    That’s test mode, which only emails verified addresses. “Ask Amazon to let you email anyone” lifts it.

  5. Ask Amazon to let you email anyone

    You

    New accounts start in test mode, which Amazon calls the sandbox. It sends up to 200 emails a day, only to verified addresses. You ask Amazon to lift that.

    1. In the SES console’s left menu, choose Account dashboard.
    2. Find the notice that sending is restricted to the sandbox. Open its setup link and request production access.
    3. Select Transactional if your emails are things like receipts and sign-in codes.
    4. In Website URL, enter your site’s address. In Additional contacts, add an email where Amazon can reach you.
    5. Choose your Preferred contact language. Tick the Acknowledgement box only if you’ll email people who asked for it, and handle bounces and complaints.
    6. Choose Submit request. AWS gives an initial response within 96 hours. Approval may take longer if it needs more information.

    It worked when: The Account dashboard no longer says your account is in the sandbox.

    Amazon asks for more details.

    Reply with what your app does, which emails it sends, and how people sign up to get them. Ask your AI tool to help you write it.

    Your request is turned down.

    Make sure your website is online and shows what the app does. Then answer Amazon’s questions and ask again.

  6. Check it lands in the inbox

    You

    An email can be delivered and still land in spam. Once Amazon lets you email anyone, send yours to real inboxes and look where it ends up.

    1. Make the email send the real way, like signing up with a new account. Use a Gmail address and one other inbox, like Outlook.
    2. Open each inbox. If the email isn’t there, look in the spam or junk folder.
    3. In Gmail, open your test email’s message details and view the original message. Check its authentication results for DMARC.
    4. List the emails your app sends in PLAN.md.
    5. If your app is online, add the SES settings from your .env file to your host’s settings. Then put it online again.

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

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

    New domains need time to earn trust. Add a DMARC record, 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 SES settings too. Add them in its settings, then put your app online again.

Compare Amazon SES 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 “Amazon SES” on BuildLadder and something isn’t working.
    This comes from https://buildladder.com/tools/amazon-ses. If you can open web pages, read https://buildladder.com/tools/amazon-ses.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 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.
CNAME record
A CNAME record is a DNS record that points one name to another name, instead of to an IP address. It’s often used for www and other subdomains.
DKIM
DKIM is a signature your sending service adds to each email. Inboxes check it against a key in your domain’s DNS records, which proves the email came from your domain and wasn’t changed on the way.
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.
SMTP
SMTP is the standard way computers hand email to each other. Many sending services give you an SMTP address, a user name and a password, so almost any app can send through them.
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.
Production
Production is the live version of your website or app that real people use. Changes there affect everyone, so you test them in a preview first.
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 · Amazon Web Services