Reliable Email API for Node.js
Get your app’s transactional emails where they need to be with Node.js and MailerSend’s trusted email API.

From setup to inbox in minutes
const Recipient = require("mailersend").Recipient;
const EmailParams = require("mailersend").EmailParams;
const MailerSend = require("mailersend");
const mailersend = new MailerSend({
api_key: "key",
});
const recipients = [new Recipient("your@client.com", "Your Client")];
const emailParams = new EmailParams()
.setFrom("your@email.com")
.setFromName("Your Name")
.setRecipients(recipients)
.setSubject("Subject")
.setHtml("Greetings from the team, you got this message through MailerSend.")
.setText("Greetings from the team, you got this message through MailerSend.");
mailersend.send(emailParams);
Your integration toolkit
API reference
Everything you need to know about the MailerSend API features and endpoints.
GitHub repository
Node.js code examples you can use to quickly start using the MailerSend email API.
Developer guide
A technical guide to getting started sending emails with Node.js.
Node.js help article
An in-depth guide on how to send emails with Node.js including best practices.

Friendly support from real humans
No bots or endless automated services. Our friendly and knowledgeable customer support team is on hand via email or live chat to help with everything from getting started to more complex technical queries.
Dev-approved, team-friendly
Shall we give this a go?
Sign up to MailerSend for free and test out our email API with a trial domain. If you like what you see, subscribe to a free Hobby plan and get 3,000 emails/month included.
What is the MailerSend Node.js SDK?
The MailerSend Node.js SDK is a JavaScript library that allows developers to use MailerSend’s email service with Node.js. It enables users to easily integrate email sending into their Node.js web applications.
Is there a free tier available for MailerSend?
Yes, there is. When you sign up to MailerSend, you’ll first be given a free trial plan which includes a testing domain and 100 emails to try out MailerSend. You can subscribe at any time to a Hobby plan which is free and includes 3,000 emails per month.
How does MailerSend ensure high deliverability?
We have 13+ years of email delivery experience and a dedicated team of deliverability experts. Our email API is built for maximum email deliverability at scale, and we only use high reputation IPs which we monitor for suspicious activity and blocklisting to ensure the highest standards of service.
How does MailerSend handle A/B testing?
MailerSend’s A/B testing or split testing feature allows you to create up to 5 variations of a template which you can test to make improvements and optimize your transactional email strategy.
How do I install the Node.js SDK?
You can install the Node.js SDK by running the command npm install mailersend dotenv. Learn more in our guide to sending emails with MailerSend and Node.js.
How secure is the MailerSend Node.js SDK?
MailerSend ensures the security of our email API and Node.js SDK with a combination of secure development practices, authentication techniques, encryption, and features that users can implement to increase their own account security.
Can I use the SDK for bulk email sending?
Yes, our bulk email endpoint is a great solution for sending transactional emails in bulk to optimize your email system and preserve sending quotas. Our bulk email feature is not intended to be used for marketing email messages.
Explore all features
Powerful RESTful API service

Start sending and tracking your emails with our easy API integration process and clean documentation.
Email verification

Verify a single email address or upload an entire email list to verify in bulk.
Webhooks

Get notified of email events to trigger automatic reactions.
Advanced email analytics

View your email activity in real-time to gain insights and make adjustments when needed.
Email inbound processing

Automatically parse incoming emails. Inbound email routes enable MailerSend to receive emails on your behalf, integrating them into your application.
Dynamic email templates

Build one-to-one customer relationships on a mass scale using a single email template.
And much more to deliver, every single time