Alternatives

The SNDR alternative to Mailgun.

A fair comparison with Mailgun: both have a free plan; SNDR adds idempotent sends and body-signed webhooks at a lower price for 50,000 emails.

Mailgun has a long history in developer email and a broad feature set, including inbound routing and email validation. SNDR is narrower and focused on sending: idempotency keys on send, webhooks signed over the full body, and a $12 plan for 50,000 emails a month. Mailgun is ahead on inbound email, validation, dedicated IPs, an EU region and official SDKs in more languages.

Side by side

SNDR vs Mailgun

Mailgun details checked on 30 October 2026 against the sources listed below.

FeatureSNDRMailgun
Free plan3,000 emails / month, no card, no daily cap100 emails / day, 1 sending domain, 1-day log retention
Plan for 50,000 emailsPro: $12 / month, or $120 / yearFoundation: $35 / month
IdempotencyIdempotency-Key header (24 hours); the JavaScript SDK adds oneNo idempotency key on send
Webhook signaturesHMAC-SHA256 over the timestamp and raw body; staged key rotationHMAC-SHA256 over a timestamp and token; the body is not signed
Webhook retriesUp to 12 attempts with exponential backoff, over about an hour6 retries over about 8 hours
SDKs@rkiza/sndr for Node 18+, Bun, Deno and edge runtimes; REST for other languagesOfficial SDKs for Go, Node.js, PHP, Java, Ruby and Python
Inbound emailNot availableInbound routes (1 on Free)
Email validationNot availablePaid add-on
Dedicated IPsNot available (shared relay pool)$59 / IP / month; one included on Scale
BillingUSD via Paddle (Merchant of Record); monthly or annualUSD, EUR or GBP

Sources, checked 30 October 2026

Products change. If something here is out of date, tell us at sndr@rkiza.sa and we'll fix it.

Why teams switch

Where SNDR fits better than Mailgun.

Body-signed webhooks

SNDR signs the timestamp and the raw request body, so a verified event cannot have been altered in transit.

Retry-safe sends

Send an Idempotency-Key and a retried request returns the original result. The JavaScript SDK adds one automatically.

Lower price at 50,000 emails

Pro covers 50,000 emails for $12 a month, or $120 a year.

Merchant of Record billing

Paddle collects VAT and sales tax for your jurisdiction and issues the invoice.

Where Mailgun is ahead

Inbound routing, email validation, dedicated IPs, an EU region and SDKs in six languages. SNDR does not offer these yet.

Migration

Moving off Mailgun's SDK.

The SNDR SDK uses the same primitives as most modern email clients — install, instantiate with a key, call emails.send. In most codebases the migration is a focused diff.

  1. 1

    Install the SDK

    Add @rkiza/sndr alongside mailgun.js — they coexist while you cut over.

    pnpm add @rkiza/sndr
  2. 2

    Replace the send call

    Mailgun’s messages.create() maps directly, and headers become a typed object. SNDR accepts tags but does not store them yet.

    // before
    import formData from 'form-data';
    import Mailgun from 'mailgun.js';
    const mg = new Mailgun(formData).client({ username: 'api', key: process.env.MAILGUN_API_KEY! });
    await mg.messages.create('mg.yourdomain.com', {
      from: 'me@yourdomain.com', to: 'a@b.com', subject: 'hi', html: '<p>hi</p>',
    });
    
    // after
    import { Sndr } from '@rkiza/sndr';
    const sndr = new Sndr(process.env.SNDR_API_KEY!);
    await sndr.emails.send({
      from: 'me@yourdomain.com', to: 'a@b.com', subject: 'hi', html: '<p>hi</p>',
    });
  3. 3

    Migrate webhook handlers

    Both post JSON. Mailgun signs a timestamp and token; SNDR signs the timestamp and raw body. Verify with the shipped helper and switch on event.type.

    import { verifyWebhookSignature } from '@rkiza/sndr';
    
    app.post('/webhooks/sndr', express.raw({ type: 'application/json' }), (req, res) => {
      if (!verifyWebhookSignature(req.body, req.header('x-sndr-signature') ?? '', process.env.SNDR_WEBHOOK_SECRET!)) {
        return res.status(400).send('bad signature');
      }
      const event = JSON.parse(req.body.toString('utf8'));
      switch (event.type) {
        case 'email.delivered': /* event.data.email_id, event.data.to */ break;
        case 'email.bounced':   /* event.data.email_id, event.data.error */ break;
        case 'email.unsubscribed': /* event.data.addresses */ break;
      }
      res.status(200).send('ok');
    });
  4. 4

    Reuse your DNS

    SPF can keep both providers’ include: directives during cutover. Add a fresh DKIM CNAME or TXT for the SNDR sending domain — Mailgun’s key stays put.

  5. 5

    Shadow + cut over

    Roll a percentage of sends through SNDR behind a feature flag. Compare delivery and bounce rates by recipient domain, then move the rest.

Thinking of moving from Mailgun?

Run SNDR next to Mailgun on the Free plan and move traffic over when you're ready. We're happy to review your setup with you.