Self-hosted newsletter app with subscriber lists, segmentation, MJML templates, automation, and reports
- Stars5.7k
- Forks706
- Open Issues114
GPL-3.0
- JavaScript
- HTML
- Handlebars

About Mailtrain
Mailtrain is a self-hosted newsletter application built on Node.js, using MySQL or MariaDB for storage. It provides a web UI for managing subscriber lists, custom fields, segments, templates, campaigns, and reports.
It covers list segmentation, custom fields, and email templates including MJML-based ones, plus custom reports. Campaign automation handles triggered and RSS campaigns. Multiple users can work with granular permissions, flexible sharing, and hierarchical namespaces.
Deployment separates the management UI, WYSIWYG template editors, and subscriber-facing forms across trusted, sandbox, and public URL endpoints. A built-in Zone-MTA handles mail delivery with close-to-zero setup. Mailtrain is licensed under GPL-3.0.
Key features
- Subscriber list management with segmentation and custom fields
- Email templates, including MJML-based templates
- Triggered and RSS campaign automation
- Custom reports
- Multiple users with granular permissions and flexible sharing
Details
- On GitHub since
- 2016
- Language
- JavaScript · Node.js v14+
- License
- GPL-3.0
- Platforms
- Web · Docker
- Database
- MySQL v8+ · MariaDB v10+
- Delivery
- Built-in Zone-MTA
