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.

MailerSend

From setup to inbox in minutes

Enjoy quick and easy integration thanks to SDKs that will be right at home in your code. Get started now with our up-to-date API documentation and help guides.
Read our API docs
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);

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.

93% satisfaction rate
100% response rate
24/7 support hours
I would recommend MailerSend because of the great support I got every time I struggled with something. Fast response times and competent help is my main experience so far. The API documentation and integration are straightforward. Templates can be handled by marketing without developer skills.
Norbert N. CTO
Before MailerSend, we were always worried that emails would go to spam or promotions, but now our clients sometimes ask "How did your FIRST email get into my inbox with a star on it?". For us, email is critical for the businesses that we help and MailerSend plays a critical role. Better still, they have humans that respond and read what you write to them.
Rodrigo S. CEO
Very good tool, it took me just one day to get it working on production. The interface is clean with everything exactly where expected. It works fantastically—emails are delivered immediately and as configured (conditional statements saved my life, no need to create lots of templates). The API documentation is also fantastic, plus the support team is really fast! 10 out of 10.
Roger S. -

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.