Trigger.dev vs Mailgun
Open-source background jobs with no timeouts and full observability
vs. Email API for developers with deep deliverability tooling
Pricing tiers
Trigger.dev
Free
$0. 5K runs/mo. 1 concurrent run. 1 team member. 7-day log retention.
Free
Self-Host (OSS)
Free. Apache-2.0 license. Docker Compose + Postgres + Redis.
$0 base (usage-based)
Hobby
$10/mo. 50K runs/mo. 25 concurrent. Unlimited queue time.
$10/mo
Pro
$50/mo (starts at — usage scales). 250K runs/mo baseline. 100 concurrent. Priority.
$50/mo
Enterprise
Custom. HIPAA, SSO, dedicated clusters, on-prem.
Custom
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
Free-tier quotas head-to-head
Comparing free on Trigger.dev vs free on Mailgun.
| Metric | Trigger.dev | Mailgun |
|---|---|---|
| No overlapping quota metrics for these tiers. | ||
Features
Trigger.dev · 13 features
- Batch Trigger — Trigger many runs at once with limits.
- Environment Variables — Manage secrets in dashboard.
- Idempotency Keys — Prevent duplicate runs.
- Machine Sizing — Pick CPU/RAM per task.
- Queues + Concurrency — Named queues for controlled throughput.
- Realtime + React Hooks — Subscribe to run progress from client.
- Retries — Exponential + custom strategies.
- Schedules — Cron-triggered runs.
- Self-Hosting — Run locally or on your infra.
- Subtasks + triggerAndWait — Compose tasks by triggering children.
- Task Metadata — Attach arbitrary metadata to runs.
- Tasks — Define long-running TS tasks.
- wait.for / wait.until — Durable waits — minutes, hours, days.
Mailgun · 14 features
- Batch Sending — Send up to 1,000 recipients per API call via recipient variables.
- Dedicated IPs — IP pools with auto warmup. Scale+ tier.
- Deliverability Suite — Inbox placement testing, DMARC reporting, seed lists.
- Email Logs — Searchable log of all send attempts + events.
- Email Templates — Template builder + variables + versioning.
- Email Validation — Real-time email verification (syntax, MX, role accounts, disposable).
- EU Region — Data stored in EU for GDPR-sensitive customers.
- Inbound Routing — Route incoming emails to URLs/SMTP. Attachment forwarding.
- Mailing Lists — Unlimited mailing lists with bulk subscribe/unsubscribe.
- Open/Click Tracking — HTML + text tracking with configurable tracking domain.
- SAML SSO — Scale+ tier.
- Send API — REST/SMTP send with MIME + tracking.
- Tags — Tag messages to slice stats.
- Webhook Events — delivered, opened, clicked, unsubscribed, complained, permanent_fail, temporary_…
Developer interfaces
| Kind | Trigger.dev | Mailgun |
|---|---|---|
| CLI | trigger.dev CLI | — |
| SDK | @trigger.dev/react-hooks, @trigger.dev/sdk | mailgun.js (Node), mailgun-php, mailgun-python, mailgun-ruby |
| REST | Trigger.dev REST API | Mailgun REST API |
| OTHER | Trigger.dev Dashboard, Trigger.dev Webhooks | Inbound Routing, SMTP Relay, Webhooks |
Staxly is an independent catalog of developer platforms. Outbound links to Trigger.dev and Mailgun 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.