Softwr

APIs · head to head

Mailgun vs Starlight

Mailgun logo

Mailgun

APIs

Email delivery built for developers

From
Free
Free plan
Yes
Starlight logo

Starlight

Documentation

Documentation site framework built on Astro that ships no JavaScript to the reader by default

From
Free
Free plan
Yes

The short version

  • Starlight is free; Mailgun starts at $15/mo.
  • Where Mailgun falls short: free tier limited to 100 emails per day, restricting high-volume use cases.

How do Mailgun and Starlight differ?

Mailgun and Starlight differ on pricing model, platforms and category (APIs against Documentation). Only the attributes on which Mailgun and Starlight actually diverge.

Attributes where Mailgun and Starlight differ
AttributeMailgunStarlight
Pricing modelSubscriptionOpen source, no licence fee
PlatformsWebWeb, macOS, Windows, Linux
CategoryAPIsDocumentation

Identical on both: starting price (Free), free tier (Yes).

Not yet recorded: founded for Starlight.

Which features does each one have?

They share no listed features; 7 only for Starlight. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in Mailgun

Nothing recorded that Starlight does not also cover.

Only in Starlight

  • File based routing
  • Pagefind search
  • Internationalisation
  • Component overrides
  • Zero client JavaScript
  • Expressive Code blocks
  • Auto generated sidebar

What is each one used for?

Mailgun is most often brought in for transactional email delivery and SMTP relay. The jobs each tool is most often brought in to do.

Mailgun

  • Transactional email delivery and SMTP relaynot Starlight
  • Email marketing at scale for developers and enterprisesnot Starlight

Starlight

  • A developer tool whose docs live in the same repository as the code and are reviewed in the same pull requestnot Mailgun
  • A team that already runs Astro for its marketing site and wants one build pipeline for bothnot Mailgun
  • Documentation that must be served from a CDN or an air gapped static host with no search backendnot Mailgun
  • A multilingual open source project that needs per locale content trees and untranslated page fallbacknot Mailgun

Where do Mailgun and Starlight fall short?

Mailgun's most cited limit: free tier limited to 100 emails per day, restricting high-volume use cases. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Mailgun

  • Free tier limited to 100 emails per day, restricting high-volume use cases
  • Log retention minimal on lower tiers (1 day on Free and Basic plans)
  • Add-on pricing for email validations and extra emails can accumulate quickly for high-traffic users

Starlight

  • There is no editing interface, so every correction requires a git client, a Node install and a CI run, which puts documentation changes out of reach for anyone who does not already work in a repository
  • Starlight versions track Astro versions, so an Astro major release becomes a documentation site migration on someone else timeline rather than yours
  • Pagefind builds the whole search index at compile time, so build duration and index size grow with page count and large documentation sets pay for it on every deploy
  • There is no analytics, no feedback widget and no page level rating built in, so measuring which pages fail readers means wiring a third party script yourself
  • Component overrides are limited to the slots the theme exposes, and anything outside those slots means forking the theme and inheriting the merge burden on every upgrade

How much do Mailgun and Starlight cost?

Mailgun has a free plan, with paid plans from $15/mo; Starlight is free to use. Plan by plan below, from each vendor's own pricing page.

Mailgun

Free
  • FreeFree
    • 100 emails per day
    • Basic APIs
    • SMTP relay
  • Basic$15/mo
    • 10,000 emails per month
    • No daily limits
    • Monthly overage options
  • Foundation$35/mo
    • 50,000 emails per month
    • 1,000 custom domains
    • Email template builder
  • Scale$90/mo
    • 100,000 emails per month
    • SAML SSO
    • 5,000 email validations

Starlight

Free
  • Open sourceFree
    • MIT licence
    • All features included
    • Self hosted on any static host

Which should you pick?

Choose Mailgun if

  • You want to start without paying.

Choose Starlight if

  • You need file based routing.
  • You want to start without paying.
  • You work on Web, macOS, Windows, Linux.
  • You also want pagefind search.

Questions people ask

Is Mailgun or Starlight better?
It depends on the job. Mailgun fits transactional email delivery and SMTP relay; Starlight fits a developer tool whose docs live in the same repository as the code and are reviewed in the same pull request. Mailgun starts at Free and Starlight at Free.
Which is cheaper, Mailgun or Starlight?
Mailgun starts at Free and Starlight at Free.
Does Mailgun or Starlight run on more platforms?
Mailgun runs on Web. Starlight runs on Web, macOS, Windows, Linux.
Can I use Mailgun for free?
Both have a free tier, so you can try either at no cost before committing.
What is Mailgun best used for?
Mailgun is most often used for transactional email delivery and smtp relay, email marketing at scale for developers and enterprises. Of those, transactional email delivery and smtp relay and email marketing at scale for developers and enterprises are not what Starlight is typically brought in for.
What can Mailgun do that Starlight cannot?
Starlight covers File based routing, Pagefind search, Internationalisation, Component overrides.

Answered from the vendors’ own pages

Mailgun: What happens when I exceed my monthly email quota?

Mailgun allows monthly overage options on paid plans. Extra emails are charged from $1.30 to $1.10 per 1,000 emails depending on plan tier. Enterprise customers negotiate custom rates.

Source
Starlight: Can a non technical writer publish a page without help?

No. There is no content management interface. Every change is a commit, a pull request and a build.

Mailgun: Can I upgrade from Free to a paid plan and when does billing begin?

Yes, you can upgrade to paid plans anytime. The first month is free on Foundation ($35/month) and Scale ($90/month) plans, with billing starting on month two.

Source
Starlight: Do I need to know Astro to use it?

Not for basic use. Markdown files and a config file are enough until you want custom components, at which point Astro knowledge becomes mandatory.

Mailgun: What currencies and billing periods does Mailgun support?

Mailgun supports monthly billing in USD, EUR, and GBP. Charges are prorated for mid-month signups. Annual billing options are not explicitly listed on the pricing page.

Source
Starlight: Is search included or do I pay for it?

Included and free. Pagefind builds a static index at compile time. Algolia DocSearch is optional if you want hosted search instead.

Starlight: What happens when Astro releases a major version?

Starlight follows it, and your site needs a migration. Read the upgrade guide before pinning a version for a long lived project.

Starlight: Can I self host with no external services?

Yes. The output is static HTML, CSS and a search index. Nothing calls out at runtime unless you add it.

Share

Related pages

Other head to heads