Skip to content

Self-hosted alternatives to Mailtrap

Mailtrap is an email delivery platform with a sending API and SMTP, and a sandbox for testing mail before production. One listed app does its main job and runs in your own Cloudflare account.

Each answer comes from the app’s README and source code, compared with the features Mailtrap describes on its own site.

  • EmailFlare Inbox landing page with a mockup of the conversation list and a contact thread

    Transactional email API and shared team inbox built on Cloudflare Email Sending, Email Routing and D1

    Deploy
    CLI
    License
    MIT
    GitHub stars
    252 stars
    Last commit

Mailtrap features, app by app

FeatureEmailFlare
Email API for transactional mailYes
SMTPNo
Email Sandbox for testing in stagingYes
Analytics dashboards for deliverabilityPartly
Open and click trackingNo
Email logsYes

Transactional email API and shared team inbox built on Cloudflare Email Sending, Email Routing and D1

What a Mailtrap user would miss
No SMTP relay, open or click tracking or outbound webhooks.
What it adds
API keys can be limited to chosen domains and come as test or live keys, and the same project adds a shared team inbox.
  • Yes Email API for transactional mail. POST /v1/send with an API key, an Idempotency-Key header and rate limiting.
  • No SMTP. No SMTP service in the source or docs.
  • Yes Email Sandbox for testing in staging. Test keys capture the rendered email into a Test Mailbox.
  • Partly Analytics dashboards for deliverability. Stats routes and send logs, no deliverability dashboards listed.
  • No Open and click tracking. No open or click tracking listed.
  • Yes Email logs. Send logs page with the status and error of each message.

Sources:github.com/0xdps/emailflare#emailflare-api--email-sending-apigithub.com/0xdps/emailflare/blob/trunk/packages/email-core/src/index.tsgithub.com/0xdps/emailflare/blob/trunk/docs/TEMPLATES.mdworkersnative.directory/api/apps/emailflare