Email Sending Service - MailerSend

Hey, WhatsApp API is here 🎉

Deliver critical alerts faster. Add WhatsApp now.

[Read more\

Team-friendly email API for modern apps

Transactional email, WhatsApp and SMS you can set up in minutes and deliver in seconds. Send emails reliably and at scale.

Try for free Documentation

14-day free Professional trial • Send 500 emails/month for free • 24/7 Support • 99.5% guaranteed uptime

\ Transactional emails\ \ Fast, reliable email delivery to send your critical comms at scale.](/content/features/transactional-emails/index.html) \ Toll-free SMS\ \ Send and receive transactional text messages with your own unique phone number.](/content/features/sms-api/index.html) \ Track delivery\ \ View email activity in real time and trigger workflows and alerts with webhooks.](/content/features/webhooks/index.html) \ WhatsApp Business API\ \ Reach customers where they chat, fast, with global WhatsApp transactional messaging.](/content/features/whatsapp/index.html)

Hear it from the people who build with us

From startups to SaaS companies to agencies, MailerSend is trusted by thousands of organizations to power their transactional message delivery.

High Performer\ Small Business\ \ Spring 2025 High\ \ Performer\ Spring 2025 High Performer\ Europe\ \ Winter 2025

MailerSend solved a deliverability problem that was holding back our entire claims operation, and it did it fast. We were live within 24 hours and sending at scale within the week. It's become a core part of the infrastructure behind how we communicate with our clients, and it just works.

Ryan BiggsHead of IT

MailerSend has been fantastic for our OTA website—fast, reliable, and easy to use. From booking confirmations to guest updates, everything delivers seamlessly. Great service and excellent support!

Craig Mlambo

Lead Software Developer

After switching to MailerSend, our e-mail deliverability has increased dramatically across every application we manage. The user experience and support are exceptional. MailerSend has figured out how to do transactional email right!

Dave Buonomo

President & CTO

- Blue Atlas Interactive

Omnichannel messaging for agencies \ \ Easily onboard multiple clients via domain or sender identity and manage their transactional emails in a single account, while ensuring best-in-class deliverability.](/content/solutions/email-for-agencies/index.html) Transactional communication for e-commerce \ \ Fast, reliable delivery at scale of order confirmations, shipping notifications, and delivery updates that land without worry.](/content/solutions/email-for-ecommerce/index.html) Email & SMS for SaaS operations \ \ Keep your apps and software running smoothly with onboarding emails, billing notifications, password resets, and OTPs that enhance the user experience.](/content/solutions/email-for-saas/index.html)

[See all solutions\

Fast, clean API integration

MailerSend fits right into your stack with libraries for your favorite programming language, while detailed API documentation helps you send emails in minutes.

Read our API docs

cURL Node.js PHP Laravel Python Ruby Go Java

curl -X POST \
https://api.mailersend.com/v1/email \
    -H 'Content-Type: application/json' \
    -H 'X-Requested-With: XMLHttpRequest' \
    -H 'Authorization: Bearer {place your token here without brackets}' \
    -d '{
        "from": {
            "email": "your@email.com"
        },
            "to": [\
        {\
            "email": "your@client.com"\
        }\
        ],
        "subject": "Hello from MailerSend!",
        "text": "Greetings from the team, you got this message through MailerSend.",
        "html": "Greetings from the team, you got this message through MailerSend."
    }'
import { MailerSend, EmailParams, Sender, Recipient } from "mailersend";

const mailerSend = new MailerSend({
   api_key: "key",
});

const sentFrom = new Sender("you@yourdomain.com", "Your name");

const recipients = [\
  new Recipient("your@client.com", "Your Client")\
];

const emailParams = new EmailParams()
  .setFrom(sentFrom)
  .setTo(recipients)
  .setReplyTo(sentFrom)
  .setSubject("This is a Subject")
  .setHtml("This is the HTML content")
  .setText("This is the text content");

await mailerSend.email.send(emailParams);
$mailersend = new MailerSend();

$recipients = [\
new Recipient('your@client.com', 'Your Client'),\
];

$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->email->send($emailParams);
php artisan make:mail ExampleEmail

Mail::to('you@client.com')->send(new ExampleEmail());
from mailersend import emails

mailer = emails.NewEmail()

mail_body = {}

mail_from = {
    "name": "Your Name",
    "email": "your@domain.com",
}

recipients = [\
    {\
        "name": "Your Client",\
        "email": "your@client.com",\
    }\
]

mailer.set_mail_from(mail_from, mail_body)
mailer.set_mail_to(recipients, mail_body)
mailer.set_subject("Hello!", mail_body)
mailer.set_html_content("Greetings from the team, you got this message through MailerSend.", mail_body)
mailer.set_plaintext_content("Greetings from the team, you got this message through MailerSend.", mail_body)

mailer.send(mail_body)
require "mailersend-ruby"

# Intialize the email class
ms_email = Mailersend::Email.new

# Add parameters
ms_email.add_recipients("email" => "your@client.com", "name" => "Your Client")
ms_email.add_recipients("email" => "your@client.com", "name" => "Your Client")
ms_email.add_from("email" => "your@domain.com", "name" => "Your Name")
ms_email.add_subject("Hello!")
ms_email.add_text("Greetings from the team, you got this message through MailerSend.")
ms_email.add_html("Greetings from the team, you got this message through MailerSend.")

# Send the email
ms_email.send
package main

import (
    "context"
    "os"
    "fmt"
    "time"

"github.com/mailersend/mailersend-go"
)

func main() {
    // Create an instance of the mailersend client
    ms := mailersend.NewMailersend(os.Getenv("MAILERSEND_API_KEY"))

ctx := context.Background()
    ctx, cancel := context.WithTimeout(ctx, 5*time.Second)
    defer cancel()

subject := "Subject"
    text := "This is the text content"
    html := "This is the HTML content"

from := mailersend.From{
        Name:  "Your Name",
        Email: "your@domain.com",
    }

recipients := []mailersend.Recipient{
        {
            Name:  "Your Client",
            Email: "your@client.com",
        },
    }

// Send in 5 minute
    sendAt := time.Now().Add(time.Minute * 5).Unix()

tags := []string{"foo", "bar"}

message := ms.Email.NewMessage()

message.SetFrom(from)
    message.SetRecipients(recipients)
    message.SetSubject(subject)
    message.SetHTML(html)
    message.SetText(text)
    message.SetTags(tags)
    message.SetSendAt(sendAt)
    message.SetInReplyTo("client-id")

res, _ := ms.Email.Send(ctx, message)

fmt.Printf(res.Header.Get("X-Message-Id"))

}
import com.mailersend.sdk.Email;
import com.mailersend.sdk.MailerSend;
import com.mailersend.sdk.MailerSendResponse;
import com.mailersend.sdk.exceptions.MailerSendException;

public void sendEmail() {

Email email = new Email();

email.setFrom("name", "your email");
    email.addRecipient("name", "your@recipient.com");

// you can also add multiple recipients by calling addRecipient again
    email.addRecipient("name 2", "your@recipient2.com");

// there's also a recipient object you can use
    Recipient recipient = new Recipient("name", "your@recipient3.com");
    email.AddRecipient(recipient);

email.setSubject("Email subject");

email.setPlain("This is the text content");
    email.setHtml("This is the HTML content");

MailerSend ms = new MailerSend();

ms.setToken("Your API token");

try {
        MailerSendResponse response = ms.emails().send(email);
        System.out.println(response.messageId);
    } catch (MailerSendException e) {
        e.printStackTrace();
    }
}

\ View on API Hub](https://developers.mailersend.com/) \ View on github](https://github.com/mailersend)

Build and send faster with MCP

Connect your AI agent with MailerSend's hosted MCP to integrate, test, and troubleshoot faster. Send emails, SMSes and WhatsApp messages, pull reports on sending activity, create webhooks, and more.

Claude](/content/integrations/claude/index.html) VSCode](/content/integrations/vscode/index.html) Cursor](/content/integrations/cursor/index.html) ChatGPT](/content/integrations/chatgpt/index.html) All integrations

SMTP credentials, ready to drop in

Not every project needs an API. Our SMTP relay provides fast, reliable email sending. Just enter your credentials and you’re good to go.

Monitor. Optimize. Deliver.

Get full visibility into sending activity and performance, and optimize deliverability with features that simplify bounce management and troubleshooting.

Real-time email activity

Follow every step of the message journey to quickly identify deferrals and bounces, complete with mail server responses.

API & SMTP logs

Troubleshoot sending issues fast with a full view of your SMTP and API requests and their responses.

Analytics reports

Create reports for your whole account or filter by domain and tags to create individual reports to share with your clients.

Suppressions management

No need to handle bounces, unsubscribes and spam complaints yourself—MailerSend automatically adds them to your suppressions list.

Webhooks

Use webhook notifications about key email and SMS events to set up triggered workflows, monitor delivery, and optimize your delivery logic.

Email verification

Verify recipient email addresses via the API or in app, in bulk or in real time. Keep your database clean and your deliverability optimal.

Award-winning support

Get 24/7 technical support from knowledgeable experts who provide real solutions

Custom template options

Use pre-built email templates or create your own with our Drag & Drop or HTML builder

Team-friendly app

Easily manage team access with RBAC, 2FA enablement, and SSO.

EU-compliant privacy

Send confidently with a GDPR compliant solution that uses EU data centers (ISO 27001).

[See all features\

Explore all features for free

Try the Professional plan free for 14 days, then upgrade to the plan that fits your needs and volume when you’re ready.

How many emails do you plan to send?

5K

Pay monthly

Pay yearly

Save 10%

USDEURGBP

Pricing in Euros and British Pounds is for informational purposes only. All billing invoices will be charged in US dollars.

Best value

Professional

For agencies and white-label resellers sending at scale

$99.00/month $1,188.00 billed yearly €90.47/month €1,085.60 billed yearly £75.68/month £908.12 billed yearly $110.00/month€100.52/month£84.09/month

50,000emails /month

150SMS /month

400

email verification credits

Extra usage

$1.30€1.19£0.99

/1,000 emails

$1.40€1.28£1.07/100 SMS

Try for free

Best value

Starter

For growing startups and small businesses

$31.50/month $378.00 billed yearly €28.78/month €345.42 billed yearly £24.08/month £288.95 billed yearly $35.00/month€31.98/month£26.75/month

50,000emails /month

100SMS /month

100

email verification credits

Extra usage

$1.30€1.19£0.99

/1,000 emails

$1.40€1.28£1.07 /100 SMS

Try for free

Best value

Hobby

For personal projects and side hustles

$6.30

/month

$75.60 billed yearly €5.76

/month

€69.08 billed yearly £4.82

/month

£57.79 billed yearly $7.00

/month

€6.40

/month

£5.35

/month

5,000

emails /month

100

email verification credits

Extra usage

$1.50€1.37£1.15

/1,000 emails

Try for free

Free

For occasional email testing and sending

Get started for free — includes:

Try for free

Add-ons

Customize your plan with extra resources as you need them.

Email verification

Verify email addresses in bulk or real-time.

How many credits do you need?2,500 credits5,000 credits10,000 credits15,000 credits20,000 credits25,000 credits50,000 credits75,000 credits100,000 credits150,000 credits200,000 credits300,000 credits500,000 credits1,000,000 credits

$25.00

$0.01per credit

$45.00

$0.009per credit

$80.00

$0.008per credit

$120.00

$0.008per credit

$160.00

$0.008per credit

$175.00

$0.007per credit

$300.00

$0.006per credit

$450.00

$0.006per credit

$500.00

$0.005per credit

$600.00

$0.005per credit

$1,000.00

$0.005per credit

$1,200.00

$0.004per credit

$1,500.00

$0.003per credit

$2,000.00

$0.002per credit

WhatsApp

Reach customers with transactional text messages. Available in the USA and Canada only.

Select a plan1,000 messages10,000 messages50,000 messages

$5.00

$0.0050per message

Extra usage: $2.50/1,000

$10.00

$0.0010per message

Extra usage: $0.50/1,000

$20.00

$0.0004per message

Extra usage: $0.20/1,000

* Learn more about plan limits.   |   Taxes may apply, learn more.

Not sure yet?

See all features and add-ons

The platform is intuitive, the documentation is clear, and the reporting gives exactly the insights we need. So far, it’s been very reliable—exactly what you want for transactional emails.

Maurice Arditi •

Head of Automation

Unlock absolutely everything free for 14 days

API documentation

GitHub

Developer guides

API hub

Try for free