Mailtrain
github.com
- Free plan
- Linux
- Web
- API
- Self-hosted
What Mailtrain is
Mailtrain is a free, 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. Email templates include MJML-based options, and custom reports are available. Multiple users can have granular permissions and flexible sharing, while hierarchical namespaces help organize larger deployments. 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 settings. The Docker configuration supports LDAP authentication and CAS, and includes an optional API access token setting. Deployment documentation covers Docker Compose and 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. The recommended minimum hardware is 2 vCPU and 4096 MB RAM. Mailtrain is distributed under the GPL-V3.0 license. Docker users should set ADMIN_PASSWORD because the default password is test.
Who it suits
Mailtrain suits teams that want to host their own newsletter application and manage subscriber access with granular permissions. It requires the listed database, runtime, and minimum hardware.
Good to know, and what to watch
- Free and distributed under the GPL-V3.0 license.
- Supports segmentation, custom fields, and campaign automation.
- Multiple users can have granular permissions.
- Includes Zone-MTA for mail delivery setup.
- Supports LDAP authentication and CAS in Docker.
- 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.
Plans
Every plan and priceMailtrain v2
Free plan
The verdict
Mailtrain brings list management, campaign automation, and user permissions into a self-hosted application. Check its runtime, database, hardware, and Docker password requirements before deployment.
What the maker publishes
- API
- The Docker configuration has an optional setting for an API access token. source
- Authentication
- The Docker configuration supports LDAP authentication and CAS. source
- Campaigns
- Mailtrain includes triggered and RSS campaign automation. source
- Deployment
- The project documents deployment with Docker Compose and direct installation on CentOS 7 or Ubuntu 18.04 LTS. source
- Enterprise organization
- It supports hierarchical namespaces for enterprise-level situations. source
- Free plan
- Yes source
- Hardware
- The recommended minimum hardware is 2 vCPU and 4096 MB RAM. source
- License
- Mailtrain is distributed under the GPL-V3.0 license. source
- Lists
- Mailtrain supports subscriber list management, list segmentation, and custom fields. source
- Mail delivery
- Mailtrain includes Zone-MTA for close-to-zero setup of mail delivery. source
- Notable setup requirement
- The project warns that Docker users should set ADMIN_PASSWORD because the default password is test. source
- Product
- Mailtrain is a self-hosted newsletter application built on Node.js and MySQL or MariaDB. source
- Reporting
- Mailtrain includes custom reports. source
- Reports
- It includes custom reports. source
- Requirements
- Mailtrain v2 requires Node.js 14 or later and MySQL 8 or later, or MariaDB 10 or later. source
- Security
- The project says its separate trusted, sandbox, and public endpoints help avoid XSS attacks in multi-user settings. source
- Security design
- Mailtrain separates trusted, sandbox, and public endpoints to help avoid XSS attacks in multi-user settings. source
- Templates
- Mailtrain supports email templates, including MJML-based templates. source
- User access
- It supports multiple users with granular permissions, flexible sharing, and hierarchical namespaces. source
- Users and access
- It supports multiple users with granular permissions and flexible sharing. source
Checked against the maker's pages on 5 Oct 2026.