Send email using Amazon SES (NodeJS)

Photo by Kelly Sikkema on Unsplash


  • Nodejs
  • AWS account
  • Code editor (VS Code)

What is Amazon SES?

Amazon Simple Email Service (Amazon SES) is a cloud-based email sending service. This is a pay-as-you-go service based on the volume of emails sent and received. There are no subscriptions, no contract negotiations, and no minimum charges. Using Amazon SES you can send transactional and mass emails. It provides SMTP interface, AWS SDKs for seamless integration with our apps. For more details read this.

Create a Project

Open your terminal and create a project directory.

mkdir send-and-monitor-email && cd send-and-monitor-email
npm init
npm i aws-sdk dotenv
touch sendEmail.js .env

Send Email

We are done with the project setup. Now we have to log in to the AWS account to configure SES for sending emails. Let’s login from here.

SES email address verification screen
node sendEmail.js
Successful email sending response



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store