Mailtrain
Mailtrain is a self-hosted newsletter application built on Node.js and MySQL or MariaDB.
What Mailtrain is
Mailtrain is a self-hosted newsletter application built on Node.js and MySQL or MariaDB. It manages subscriber lists with segmentation and custom fields, and supports triggered and RSS campaign automation. Users can create email templates, including MJML-based templates, and generate custom reports. Multiple users can work with granular permissions, flexible sharing, and hierarchical namespaces. Mailtrain includes Zone-MTA for mail delivery setup. Its security design separates trusted, sandbox, and public endpoints to help avoid XSS attacks in multi-user environments. The Docker configuration supports LDAP authentication and CAS, with an optional API access-token setting. Mailtrain v2 is free at no cost and distributed under the GPL-V3.0 license. It includes a newsletter website, custom domain support, and API access. Deployment options include Docker Compose or direct installation on CentOS 7 or Ubuntu 18.04 LTS. Version 2 requires Node.js 14 or later and MySQL 8 or later, or MariaDB 10 or later; recommended minimum hardware is 2 vCPU and 4096 MB RAM. Docker users should set ADMIN_PASSWORD because the default password is test.
Good
- Supports list segmentation and custom fields.
- Includes triggered and RSS campaign automation.
- Supports granular permissions and hierarchical namespaces.
- Includes API access and custom domain support.
Watch out
- Requires Node.js 14 or later.
- Requires MySQL 8 or later, or MariaDB 10 or later.
- Recommended minimum is 2 vCPU and 4096 MB RAM.
- Docker users should change the default admin password.
Who it suits
Mailtrain suits organizations that want to host their own newsletter service and need subscriber segmentation, campaign automation, or multi-user permissions. It is a fit for teams able to meet its runtime, database, and hardware requirements.
Verdict
Mailtrain combines newsletter management, campaign automation, and team access controls in a self-hosted package. Check the v2 runtime and hardware requirements, and change the Docker admin password during setup.
Plans and prices
From Mailtrain's own pricing page, checked 5 Oct 2026.
| Plan | Price | What it gives you |
|---|---|---|
| Mailtrain v2 | Free | Self-hosted; recommended minimum 2 vCPU · 4096 MB RAM |
The facts
Each one read from Mailtrain's own pages, with the date it was checked.
What it does
- API
- The Docker configuration has an optional setting for an API access token.checked 5 Oct 2026
- Authentication
- The Docker configuration supports LDAP authentication and CAS.checked 5 Oct 2026
- Campaigns
- Mailtrain includes triggered and RSS campaign automation.checked 5 Oct 2026
- Deployment
- The project documents deployment with Docker Compose and direct installation on CentOS 7 or Ubuntu 18.04 LTS.checked 5 Oct 2026
- Enterprise organization
- It supports hierarchical namespaces for enterprise-level situations.checked 5 Oct 2026
- Hardware
- The recommended minimum hardware is 2 vCPU and 4096 MB RAM.checked 5 Oct 2026
- License
- Mailtrain is distributed under the GPL-V3.0 license.checked 5 Oct 2026
- Lists
- Mailtrain supports subscriber list management, list segmentation, and custom fields.checked 5 Oct 2026
- Mail delivery
- Mailtrain includes Zone-MTA for close-to-zero setup of mail delivery.checked 5 Oct 2026
- Notable setup requirement
- The project warns that Docker users should set ADMIN_PASSWORD because the default password is test.checked 5 Oct 2026
- Product
- Mailtrain is a self-hosted newsletter application built on Node.js and MySQL or MariaDB.checked 5 Oct 2026
- Reporting
- Mailtrain includes custom reports.checked 5 Oct 2026
- Reports
- It includes custom reports.checked 5 Oct 2026
- Requirements
- Mailtrain v2 requires Node.js 14 or later and MySQL 8 or later, or MariaDB 10 or later.checked 5 Oct 2026
- Security
- The project says its separate trusted, sandbox, and public endpoints help avoid XSS attacks in multi-user settings.checked 5 Oct 2026
- Security design
- Mailtrain separates trusted, sandbox, and public endpoints to help avoid XSS attacks in multi-user settings.checked 5 Oct 2026
- Templates
- Mailtrain supports email templates, including MJML-based templates.checked 5 Oct 2026
- User access
- It supports multiple users with granular permissions, flexible sharing, and hierarchical namespaces.checked 5 Oct 2026
- Users and access
- It supports multiple users with granular permissions and flexible sharing.checked 5 Oct 2026
Money
- Free plan
- Yeschecked 23 Sep 2026
The full review of Mailtrain
Mailtrain is a self-hosted newsletter application for organizations that can operate their own server and database. It is best suited to teams needing detailed access controls and automated campaigns rather than a hands-off hosted sender. The trade-off is administrative responsibility: deployment, upgrades, and infrastructure remain yours.
Overview
Mailtrain brings subscriber administration, campaign creation, templates, and reporting into one Node.js application backed by MySQL or MariaDB. Segmentation and custom fields allow more precise audience organization, while triggered and RSS campaigns cover recurring or event-driven newsletters. Zone-MTA is intended to make mail delivery close to a ready-made component, but it does not remove the work of running a self-hosted system.
Collaboration is a major differentiator. Granular permissions and flexible sharing let teams divide responsibilities, and hierarchical namespaces provide a way to structure larger organizations. Mailtrain also separates trusted, sandbox, and public endpoints, a security design aimed at reducing XSS exposure when multiple users share the installation.
Key features
- Subscriber lists: List management, segmentation, and custom fields support targeted audience workflows instead of one undifferentiated database.
- Automation: Triggered and RSS campaigns can keep recurring content or event-based sends moving without manual launches.
- Templates: Standard email templates and MJML-based templates give teams a reusable production workflow.
- Reporting: Custom reports are useful when a team needs its own reporting views rather than a fixed dashboard.
- Team access: Granular permissions, sharing controls, and hierarchical namespaces suit departments or enterprise-style arrangements.
- Delivery and integration: Zone-MTA reduces mail-delivery setup, while Docker can enable LDAP or CAS authentication and optionally expose an API access token.
- Deployment choices: Docker Compose and direct installation on CentOS 7 or Ubuntu 18.04 LTS are documented, giving administrators more than one installation route.
Pricing
Mailtrain v2 is free: the sole plan costs nothing and is self-hosted. It includes a newsletter website, custom domain support, and API access, with no paid tier or free-trial period. The price is attractive for organizations that already have infrastructure and staff, but “free” does not mean managed hosting; server, database, maintenance, and delivery operations remain part of the ownership cost.
The published minimum recommendation is 2 vCPU and 4096 MB of RAM. Mailtrain v2 also requires Node.js 14 or later with MySQL 8 or later, or MariaDB 10 or later. Docker deployments should change ADMIN_PASSWORD during setup because the default is test; leaving it unchanged is an avoidable security risk.
Platforms
Mailtrain provides an API and web interface for Linux, with self-hosted deployment as its operating model. Docker Compose is documented alongside direct installation, and the authentication options in Docker include LDAP and CAS.
Who it's for
Choose Mailtrain when your organization wants ownership of newsletter data, a custom domain, API access, and fine-grained permissions across several users. It is particularly suitable for teams that can administer Linux services and databases, or for organizations that need namespaces and controlled sharing between groups.
Look elsewhere if you want a hosted service that absorbs infrastructure work, or if your audience and workflow only require a simple personal newsletter. The Node.js, database, and hardware prerequisites add operational overhead that smaller publishers may not want.
Pros and cons
Pros
- Broad audience controls: Segmentation and custom fields support targeted subscriber organization.
- Useful automation: Triggered and RSS campaigns handle recurring and event-driven sends.
- Strong collaboration model: Permissions, sharing, and hierarchical namespaces are more capable than a basic single-user setup.
- Open deployment and licensing: The GPL-V3.0 license and self-hosted model provide control over the software and environment.
- Included delivery component: Zone-MTA can reduce initial mail-delivery configuration.
Cons
- Real administration burden: You must run the application, database, and server rather than relying on a vendor-managed service.
- Non-trivial prerequisites: Node.js 14+, MySQL 8+/MariaDB 10+, and 2 vCPU with 4096 MB RAM raise the entry bar.
- Security setup is essential: The Docker default administrator password must be replaced before use.
- Older documented operating systems: Direct-install guidance targets CentOS 7 and Ubuntu 18.04 LTS, which may require planning in newer environments.
Alternatives
phpList is a better fit if you want a freemium option with a free tier allowing 300 messages and unlimited subscribers, plus a trial.
listmonk suits readers seeking free, open-source self-hosted software across more operating systems, provided they can run PostgreSQL.
Audienceful is preferable for a hosted API and web workflow with a free plan capped at 1,000 contacts, one collaborator, and one automated journey.
Curated is aimed at publishers wanting a hosted browser extension and web service, with a free range of 0–1,500 subscribers.
Kit fits creators who want a hosted free newsletter plan for up to 10,000 subscribers and a basic visual automation.
Substack is the simpler hosted choice for Android, iOS, and web publishing with no platform fees, tiers, or contracts on its free-to-start plan.
Sympa is another free self-hosted option, but it requires administrator-managed mail, database, and web-server components.
Dada Mail is an alternative self-hosted and web-based newsletter application.
For broader comparisons, see Newsletter Platforms and Email Marketing Software.
Verdict
Mailtrain is a strong choice for technically capable teams that need self-hosted newsletter control, automation, and carefully partitioned user access at no software cost. Choose it for ownership and organizational depth; look elsewhere if avoiding server administration and runtime maintenance matters more than control.
Alternatives to Mailtrain
- 1

Mailchimp
Free planAndroidiOSWebAPI9.1From $13 a month - 2

Zoho Campaigns
Free planAndroidiOSWebAPI9.0From $4 a month - 3

SendPulse
Free planAndroidiOSWebAPI8.9From $9.60 a month - 4

E-goi
Free planAndroidiOSWebAPI8.8From $11.75 a month - 5

Substack
Free planAndroidiOSWebAPI8.8$50 one-time - 6

GetResponse
AndroidiOSWebAPI8.7From $1,915.58 a month
