Skip to content

mailtrain

Self-hosted newsletter app for organizations that need multi-user permissions

Copyleft (OSI) · GPL-3.0

Listed by , founder & editor

46

Health

Slowing

Overview

Stars

5,748

Last commit

5 days ago

Nov 2026

Repository age

10 years

since Apr 2016

Latest version

v2.20210609.0

Jun 2021

Contributors

–

2 active in 90 days

Releases

0

last 12 months

Language

JavaScript

Mailtrain is a self-hosted newsletter application built on Node.js and MySQL or MariaDB. Version 2 is a full rewrite of the first release, so you install it fresh. A v1 database can be upgraded to the new schema. It is licensed under GPL-3.0, and a Docker setup is available.

It covers subscriber lists, segmentation, custom fields, reports, and email templates, including MJML-based ones. You can set up automation with triggered and RSS campaigns. It supports multiple users with granular permissions, flexible sharing and hierarchical namespaces, which suits larger organizations. A built-in Zone-MTA lets you send mail with little setup.

Mailtrain serves three URL endpoints (trusted, sandbox and public) to reduce XSS risk in multi-user setups. The recommended hardware is 2 vCPU and 4096 MB of RAM.

It is a self-hosted equivalent to Mailchimp. It has no native e-commerce integrations or SMS marketing, and the interface looks dated.

Who it's for

Organizations with several teams sending newsletters

Granular permissions, sharing and namespaces separate each team's lists and campaigns.

Skip if: You are a single sender who wants a simple hosted tool.

Self-hosters who want to control sending

The built-in Zone-MTA means you can deliver mail without a separate relay.

Skip if: You do not want to manage DNS, a server and mail deliverability.

Publishers using RSS-driven mailings

RSS campaigns and triggered automation are built in.

Skip if: You need e-commerce or SMS marketing tools.

The problem it solves

Hosted newsletter services charge by list size and keep your subscriber data on their servers. Mailtrain lets you run lists, campaigns and delivery on your own infrastructure.

Strengths

  • Multi-user permissions with sharing and hierarchical namespaces
  • Built-in Zone-MTA for mail delivery with little setup
  • Segmentation, custom fields, reports and MJML templates
  • Triggered and RSS automation campaigns
  • GPL-3.0 with Docker support

Trade-offs

  • No release in the last year and 2 recent contributors
  • No native e-commerce integrations or SMS marketing
  • Dated interface
  • Needs 3 DNS entries and about 4096 MB of RAM

Self-host mailtrain

Self-hostable
Yes
Minimum RAM
4 GB
Docker Compose
The repository ships a Compose file

Frequently asked questions

Is Mailtrain free?

Yes. It is open source under GPL-3.0. You pay only for your own server and mail delivery.

Can I self-host it?

Yes. It runs on Node.js with MySQL or MariaDB, and a Docker setup is available.

Can I upgrade from Mailtrain v1?

Yes. Back up the database and use it with v2, which can upgrade it to the new schema. Install v2 from scratch.

What hardware does it need?

The recommended minimum is 2 vCPU and 4096 MB of RAM.

Similar tools in Email marketing and newsletters

Plunk

Email marketing and newsletters

Self-hostable email platform for developers sending transactional mail and campaigns

5.6k 443 today Thriving AGPL-3.0

useSend

Email marketing and newsletters

Self-hosted email sending API and newsletter tool built on Amazon SES

4.8k 449 today Thriving AGPL-3.0

Replaces Resend

Keila

Email marketing and newsletters

Self-hosted newsletter tool with signup forms for small teams and independent senders

2.3k 180 yesterday Thriving AGPL-3.0

Replaces Mailchimp

MailCheap

Email marketing and newsletters

Newsletter app billed by emails sent, self-hostable on Amazon SES, with MCP for AI agents

1.8k 448 18 days ago Slowing AGPL-3.0

Sendportal

Email marketing and newsletters

Self-hosted email marketing app for sending newsletters through your own provider

2.2k 474 33 days ago Slowing MIT

rss2newsletter

Email marketing and newsletters

Command-line tool that turns an RSS or Atom feed into email newsletters via listmonk

282 13 2 years ago Dormant AGPL-3.0