Tools/Mailtrain-org/mailtrain

Mailtrain

Self-hosted newsletter app

5.8k+1/wkemergingJavaScriptGNU General Public License v3.0new this week

The Lens

By Erik Loyd, SaaS CEO and former COO/CFO of an AWS Premier Partner.

Updated Mar 2026

Mailtrain is a self-hosted newsletter platform that handles subscriber management, campaign creation, automation, and analytics without per-subscriber fees. You install it on your own server, connect it to an SMTP service (Amazon SES, Postmark, your own mail server), and manage subscribers, campaigns, and automations from a web UI.

It handles list management, segmentation, A/B testing, templates, and basic automation triggers. The UI is functional, not beautiful, but it gets the job done. Import/export subscribers via CSV, track opens and clicks, manage bounces.

Version 2 added a drag-and-drop template editor and better automation workflows. It uses MySQL/MariaDB for storage and can handle large lists (100K+ subscribers) with proper infrastructure.

The catch: development has slowed significantly; commits are sporadic and the community is small. The setup isn't trivial: you need Node.js, MySQL, Redis, and an SMTP relay, plus DNS records for DKIM/SPF. If something breaks, you're debugging it yourself. And the UI feels dated compared to modern alternatives. Listmonk has largely overtaken Mailtrain as the go-to self-hosted newsletter tool. It's faster, simpler to deploy (single binary + Postgres), and more actively maintained.

Free vs Self-Hosted vs Paid

fully free

Free

Fully open source under GPLv3. No paid tier, no hosted version. Everything is included.

Real Costs

  • Server: $10-20/mo VPS (2GB RAM minimum)
  • Email sending: Amazon SES at $0.10 per 1,000 emails is the cheapest option. 50K emails/month = $5
  • Domain/DNS: You need proper DKIM, SPF, and DMARC records or your emails land in spam

The Math

For a 10K subscriber list sending weekly: ~$15/mo total (VPS + SES). Mailchimp would charge $100+/mo for the same list size. The savings are real, but so is the ops time. Budget 4-8 hours for initial setup and 1-2 hours/month for maintenance.

Free software, but budget $15-25/mo for infrastructure and real time for setup and maintenance.

What to do by team size

Solo
Only if you're comfortable with server administration. The setup requires Node.js, MySQL, Redis, and DNS configuration. Otherwise, use Listmonk for a simpler self-hosted option.
Small team
Workable if someone on the team enjoys DevOps. But honestly, Listmonk is a better choice in 2026.
Medium team
At this size, the time cost of maintaining Mailtrain doesn't justify the savings over a managed service.
Large team
Don't. Use a managed ESP or self-host Listmonk with proper infrastructure.
Self-hosting ops:significant

Get tools like this every Wednesday

One featured tool, three on the radar. No fluff.

Similar Tools

Score
55/100 · C+
Adoption21/30
Maintenance5/25
Community9/20
License10/15
Analysis10/10

A low score is not a verdict on quality. Young and niche tools start low by design. How we calculate scores

Trust Signals

Growing adoption: 5,726 starsActive community: 709 forks

About

Stars
5,752
Forks
707

Explore Further

More tools in the directory