# Mailgun alternative with a monthly pool instead of a daily cap

> Mailgun's free tier is 100 emails a day with no monthly rollover. Scribase Mail's free plan is a 3,000-email monthly pool, Resend-API compatible, same resend npm package.

Source: https://scribase.com/mailgun-alternative

Mailgun's free tier is 100 emails per day — a hard daily reset, not a monthly pool, plus only 1-day log retention and 1 custom domain. Scribase Mail's free plan is a 3,000-email monthly allowance (100/day cap within it), so unused days still add up toward the month. Scribase Mail answers the same Resend REST API, so the resend npm package works by changing only the base URL and key.

## What Mailgun is

Mailgun is a long-established transactional email API and SMTP relay. Its free tier is 100 emails a day (not a monthly pool), with 1 custom domain, 1 API key and 1-day log retention. Basic starts at $15/month for 10,000 emails/month with no daily limit; Foundation is $35/month for 50,000.

## Sources

- [Mailgun: Pricing](https://www.mailgun.com/pricing/)

## Switch with two lines

The resend package reads its base URL from the RESEND_BASE_URL environment variable or a baseUrl option. Point it at Scribase Mail and use a Scribase Mail API key; the rest of your sending code stays.

```ts
import { Resend } from 'resend'

const resend = new Resend(process.env.SCRIBASE_MAIL_KEY, {
  baseUrl: 'https://mail-api.scribase.com',
})

const { data, error } = await resend.emails.send({
  from: 'Acme <hello@mail.acme.com>',
  to: ['you@example.com'],
  subject: 'Your receipt',
  html: '<p>Thanks for your order.</p>',
})
```

_Or with curl, one command_

```sh
curl -X POST https://mail-api.scribase.com/emails \
  -H "Authorization: Bearer $SCRIBASE_MAIL_KEY" \
  -H "Content-Type: application/json" \
  -d '{"from":"Acme <hello@mail.acme.com>","to":["you@example.com"],"subject":"Hi","html":"<p>Hi</p>"}'
```

## Pricing, side by side

_Checked 2026-11-25_

|  | Free tier | Next paid tier |
| --- | --- | --- |
| Mailgun | 100 emails/day (no monthly pool), 1-day log retention | $15/mo, 10,000 emails/month |
| Scribase Mail | 3,000 emails/month (100/day cap), live usage/audit-log endpoints included | $20/mo (Pro), 50,000 emails |

## Sources

- [Mailgun: Pricing](https://www.mailgun.com/pricing/)

## What does not work yet

Mailgun's email validation add-on and SMTP relay have no Scribase Mail equivalent yet (sending is REST-API only). Published, not hidden:

- Contacts, audiences and broadcasts (marketing-email lists): not live yet.
- Inbound email processing and SMTP submission: not live yet — sending is REST-API only today.
- Self-hosting Scribase Mail: the source is not public.

## FAQ

**Is Mailgun's free tier a monthly or daily allowance?**

Daily — 100 emails per day per Mailgun's own pricing page, with no mention of unused days rolling over into a monthly pool.

**How much log retention does each free tier include?**

Mailgun's free tier includes 1 day of log retention. Scribase Mail exposes a GET /usage and GET /audit-log endpoint on every plan including free, for checking send history and events.

**Is Scribase Mail compatible with the Mailgun SDK?**

No — Scribase Mail answers the Resend API shape, not Mailgun's own SDK/SMTP format. If your code already uses the resend npm package, only the base URL and API key change.

**Is Scribase affiliated with Mailgun?**

No. Scribase is a separate company and is not affiliated with or endorsed by Mailgun. This page only compares what each product includes at each price.

## Related

- [Resend alternative](https://scribase.com/resend-alternative)
- [SendGrid alternative](https://scribase.com/sendgrid-alternative)
- [Postmark alternative](https://scribase.com/postmark-alternative)
- [Scribase Mail docs](https://scribase.com/mail/docs)