Staxly

Mailgun vs PocketBase

Email API for developers with deep deliverability tooling
vs. Open-source backend in a single Go binary

Mailgun websitePocketBase (OSS)

Pricing tiers

Mailgun

Free
100 emails/day. 1 custom domain, 1-day log retention, 1 inbound route. No credit card.
Free
Basic
$15/month. 10,000 emails/month, no daily limit, 5 inbound routes.
$15/mo
Foundation
$35/month (1st month free). 50,000 emails/month, 1,000 custom domains, 5-day retention.
$35/mo
Scale
$90/month. 100,000 emails/month, SAML SSO, 5,000 email validations, dedicated IP pools, 30-day retention.
$90/mo
Enterprise
Custom. Deliverability services, managed onboarding.
Custom
Mailgun website

PocketBase

Self-Hosted
MIT-licensed single binary. Run on any VPS / Docker / bare metal. No usage caps — only limited by your server.
$0 base (usage-based)
PocketBase (OSS)

Free-tier quotas head-to-head

Comparing free on Mailgun vs self-hosted on PocketBase.

MetricMailgunPocketBase
No overlapping quota metrics for these tiers.

Features

Mailgun · 14 features

  • Batch SendingSend up to 1,000 recipients per API call via recipient variables.
  • Dedicated IPsIP pools with auto warmup. Scale+ tier.
  • Deliverability SuiteInbox placement testing, DMARC reporting, seed lists.
  • Email LogsSearchable log of all send attempts + events.
  • Email TemplatesTemplate builder + variables + versioning.
  • Email ValidationReal-time email verification (syntax, MX, role accounts, disposable).
  • EU RegionData stored in EU for GDPR-sensitive customers.
  • Inbound RoutingRoute incoming emails to URLs/SMTP. Attachment forwarding.
  • Mailing ListsUnlimited mailing lists with bulk subscribe/unsubscribe.
  • Open/Click TrackingHTML + text tracking with configurable tracking domain.
  • SAML SSOScale+ tier.
  • Send APIREST/SMTP send with MIME + tracking.
  • TagsTag messages to slice stats.
  • Webhook Eventsdelivered, opened, clicked, unsubscribed, complained, permanent_fail, temporary_

PocketBase · 12 features

  • Access RulesRecord-level access rules (filter expressions) referencing @request and @collect
  • Admin DashboardBuilt-in web UI for schema + data management.
  • AuthEmail+password, OAuth2 (Google, GitHub, Facebook, Apple, Discord, Microsoft, etc
  • BackupsBuilt-in backup/restore with S3 upload option.
  • Built-in MailerSMTP integration for verification, password reset, magic link emails.
  • CollectionsSchema-defined record types with fields, validations, and record/admin/auth acce
  • Embedded JS EngineJavaScript VM (goja) lets you write hooks in JS without recompiling.
  • Extend as Go LibraryEmbed PocketBase in a larger Go app, add custom routes and events.
  • File StorageLocal filesystem or S3-compatible storage with access rules.
  • HooksServer-side Go or JavaScript hooks that run on CRUD events (OnRecordBeforeCreate
  • MigrationsJS/Go migration scripts applied on startup.
  • Realtime SubscriptionsSSE-based subscriptions to collection changes.

Developer interfaces

KindMailgunPocketBase
SDKmailgun.js (Node), mailgun-php, mailgun-python, mailgun-rubyGo API (extend as library), pocketbase (Dart), pocketbase (JS SDK)
RESTMailgun REST APIREST API
OTHERInbound Routing, SMTP Relay, WebhooksAdmin Dashboard, Realtime SSE
Staxly is an independent catalog of developer platforms. Outbound links to Mailgun and PocketBase are plain references to their official websites. Pricing is verified against vendor pages at publication time — reconfirm before buying.

Want this comparison in your AI agent's context? Install the free Staxly MCP server.