Mailtrain Alternative

Mailtrain's simplicity.
Enterprise features.

Mailtrain keeps it simple. Punchmail keeps it simple too — but adds the block editor, automation, and analytics you actually need.

terminal
$ git clone https://github.com/punchmail/punchmail
$ cd punchmail && docker compose up -d
# That's it. You're sending.
✓ Punchmail is running at http://localhost

Built by an email deliverability expert with 27 years of experience

0
Monthly fees
Subscribers
Emails / month
1
Price. Forever.
https://your-server.com/dashboard
📊 Dashboard
👥 Subscribers
📋 Lists
📨 Campaigns
🎨 Templates
◇ Segments
⚡ Automations
⚙️ Settings

Dashboard

Subscribers
24,891
↑ 12.3%
Sent (30d)
148K
↑ 8.1%
Open Rate
42.3%
↑ 2.4%
Click Rate
8.7%
↑ 1.1%
Campaign
Status
Sent
Open Rate
Clicks
Black Friday Sale
Sent
24,891
42.3%
2,147
Weekly Newsletter #48
Sent
18,204
38.1%
1,432
Holiday Campaign
Scheduled

An engine built
for serious scale

Punchmail isn't a hobby project with a queue bolted on. It's a multi-layered sending engine designed from day one to handle millions of emails without breaking a sweat.

7
Priority queues with dedicated workers
500
Emails per batch, bulk-inserted in parallel
Dedup layers prevent duplicate sends
<1ms
ClickHouse query time on millions of events
🚀

Multi-Queue Architecture

7 priority queues — tracking, sending, campaigns, automations, bounces, imports, default. Each with dedicated workers via Laravel Horizon.

Parallel Batch Processing

Campaigns split into 500-subscriber batches. Multiple workers process batches simultaneously. Template compiled once, cached in Redis, reused across all batches.

📊

ClickHouse Analytics Engine

Every open, click, bounce, and unsubscribe stored in ClickHouse with 6 materialized views for instant aggregation. No more slow MySQL GROUP BY on millions of rows.

🔒

Atomic Send Protection

Redis SETNX locks → MySQL unique index with INSERT IGNORE → job idempotency. Three layers guarantee zero duplicate sends, even during crashes and restarts.

Theoretical throughput
100K+ emails/hour
Scales linearly by adding worker containers

Everything you need. Nothing you don't.

Enterprise email marketing features without the enterprise price tag. Built by someone who's been sending email since before Gmail existed.

🎨

Block-Based Editor

Drag-and-drop email builder with 10 block types. Compiles to bulletproof HTML via MJML. Looks perfect in every client — yes, even Outlook.

🎯

Power Segmentation

Nested AND/OR conditions across subscriber fields, tags, engagement history, and campaign activity. "Opened campaign X but didn't click in 90 days" — milliseconds.

Automation Engine

Trigger-based workflows with conditions, delays, and actions. Welcome series, re-engagement, cart abandonment. Set it and forget it.

🔌

SMTP Pools

Connect any SMTP provider. Create pools with weighted distribution for IP warmup. Automatic failover. Per-campaign throttling. This is what enterprise ESPs charge thousands for.

📊

ClickHouse Analytics

Event tracking powered by ClickHouse. Millions of events, instant queries. Full per-campaign reports and per-subscriber activity timeline.

🧪

A/B Testing

Test subject lines and content with 2-3 variants. Auto-send the winner based on opens or clicks. Data-driven sending.

🛡️

Bounce Intelligence

IMAP/POP3 mailbox polling plus webhook receivers for SES, Postmark, and SendGrid. Automatic hard/soft classification with configurable thresholds.

🚫

Suppression System

Multiple suppression lists with email AND domain blocking. Platform-wide suppression for spamtraps and global unsubscribes. Three-layer dedup prevents duplicate sends.

📬

Full Compliance

RFC 8058 one-click unsubscribe (Gmail/Yahoo required), in-body unsubscribe, and full preference center. List-Unsubscribe headers automatic on every send.

Mailtrain is minimal.
Your ambition isn't.

Mailtrain is a self-hosted newsletter app built on Node.js. It does the basics: manage subscriber lists, create campaigns with a simple editor, and send emails via your SMTP server. For a free, open-source tool, it fills a niche. But development has slowed significantly, and the feature set remains basic.

There's no visual block editor in Mailtrain — you get a basic HTML editor or use templates. There's no automation engine for welcome series or drip campaigns. A/B testing doesn't exist. Segmentation is limited to basic list and field filters. If you need anything beyond simple newsletter blasts, Mailtrain can't help.

The Node.js stack means Mailtrain doesn't benefit from the rich ecosystem of PHP email marketing tools and libraries. There's no ClickHouse integration for analytics, no Redis-backed queue system for parallel sending, and no SMTP pool management. Everything runs on a single process, which limits throughput.

Punchmail respects Mailtrain's self-hosted ethos while delivering a complete email marketing platform. Block editor, automation, A/B testing, ClickHouse analytics, SMTP pools, bounce intelligence — all deployed with Docker Compose for the same operational simplicity Mailtrain users appreciate.

🎨

Block Email Editor

Drag-and-drop builder with 10 block types and MJML. No more raw HTML editing in Mailtrain's basic editor.

Automation Engine

Welcome series, re-engagement flows, trigger-based campaigns. Mailtrain has no automation at all.

🧪

A/B Testing

Test subject lines and content, auto-send the winner. A feature Mailtrain never built.

📊

Real Analytics

ClickHouse-powered event tracking with per-campaign reports and subscriber timelines. Far beyond Mailtrain's basic stats.

How Punchmail stacks up

We're not competing with Mailchimp's marketing budget. We're competing with their feature set.

Punchmail Mailtrain Listmonk Sendy
Self-hosted
Block email editor
Automation workflows
A/B testing Basic
Advanced segmentation Basic Basic Basic
SMTP pools + warmup
ClickHouse analytics
Bounce processing Basic Basic Basic
Active development Slow
One-time pricing Free Free

Frequently Asked Questions

How does Punchmail compare to Mailtrain for simple newsletters?

+
For simple newsletter sending, both work well. But Punchmail adds a visual block editor that makes creating professional emails much faster. Even for simple newsletters, the drag-and-drop builder saves significant time compared to Mailtrain's HTML editor.

Is Punchmail harder to set up than Mailtrain?

+
Both use Docker for deployment. Punchmail's Docker Compose setup is straightforward: clone, configure .env, docker compose up. The process is comparable to Mailtrain v2's Docker setup, but Punchmail includes more services (ClickHouse, Redis) automatically configured.

Can I migrate from Mailtrain to Punchmail?

+
Yes. Export your subscriber lists from Mailtrain as CSV and import them into Punchmail. Campaign history won't transfer, but your subscriber data and list structure can be recreated. The block editor makes rebuilding templates fast.

Does Punchmail use Node.js like Mailtrain?

+
No. Punchmail is built on Laravel (PHP) with ClickHouse for analytics and Redis for caching. This gives it access to a much larger ecosystem of email marketing libraries and tools than Mailtrain's Node.js stack.

Is Mailtrain still being developed?

+
Mailtrain's development has slowed significantly. The GitHub repository shows infrequent updates. Punchmail is actively developed with regular releases, security patches, and new features included with your one-time purchase.

Up and running in 60 seconds

No PhD required. If you can copy-paste three commands, you can run Punchmail.

1

Clone & configure

Clone the repo, copy the environment file, set your admin credentials.

git clone https://github.com/punchmail/punchmail && cp .env.example .env
2

Launch

One command spins up all 7 containers — app, database, analytics, queue, cache, email renderer. Done.

docker compose up -d
3

Connect your SMTP

Add your SMTP provider in settings — Amazon SES, Postmark, your own Postfix, whatever. Create pools, set weights, configure failover.

4

Start sending

Import subscribers, build your first campaign with the block editor, hit send. Welcome to email freedom.

One price. No limits. Forever.

No subscriber tiers. No send limits. No "contact sales." Just a price that makes sense.

Lifetime License
€199
49
One-time payment. Not per month. Not per year. Once.

🚀 Launch price for the first 100 customers. Then €99.

Mailtrain was my first self-hosted email tool. It taught me the value of owning my infrastructure. But I outgrew it fast — I needed automation, A/B testing, and real analytics. Punchmail is where I landed.

Bram, Creator of Punchmail & email deliverability veteran

Stop renting.
Start owning.

Your subscribers. Your data. Your server. One price, forever.

Get Punchmail → See How It Works