Email API

Email API that just works

Quickly integrate email into your application with a powerful, easy-to-use REST API and SDKs for your favorite languages.

send-email.js
import { MailBlastr } from 'mailblastr';

const mb = new MailBlastr('mb_xxxxxxxx');

const { data, error } = await mb.emails.send({
  from: 'Acme <onboarding@acme.com>',
  to: ['delivered@example.com'],
  subject: 'hello world',
  html: '<p>it works!</p>',
});

if (error) return console.log(error);
console.log(data);
Capabilities

An API endpoint for every use case

Simple sending

One POST request to send HTML, text, or templated emails.

Schedule sends

Send now or schedule for later using natural language or ISO timestamps.

Batch sending

Trigger a high volume of emails in a single API call.

Attachments

Attach files via Base64 or pass a remote URL.

Idempotency keys

Prevent duplicate sends with idempotency keys.

Custom headers

Add any headers your application needs.

Observability

Complete visibility of your API calls

Troubleshoot with detailed logs including request headers, response bodies, and a full timeline of email events. Fix issues before they impact your application.

logs.json
{
  "id": "evt_123",
  "type": "email.delivered",
  "created_at": "2026-06-21T06:51:14Z",
  "data": {
    "email_id": "em_456",
    "to": "user@example.com",
    "subject": "hello world"
  }
}
Reliability

The API you can trust

Built for high availability with 99.9% uptime, clear error codes, automatic retries, and idempotency support for mission-critical sends.

99.9%

API uptime

Start sending with the API today

Sign up for free and send your first email in minutes.