Mailtrain manages subscriber lists, templates, segmentation, and campaigns on Node.js with MySQL or MariaDB. Multi-user permissions and namespaces support larger organizations.
Overview
Mailtrain is a self-hosted newsletter application for creating and sending email campaigns without relying on a third-party marketing SaaS. Version two reimplements earlier functionality with list management, segmentation, custom subscriber fields, templated messages including MJML layouts, reporting, and automation such as triggered and RSS-driven campaigns.
Security-oriented deployment splits traffic across three HTTP endpoints: a trusted URL for authenticated staff UI, a sandbox URL for template editor iframes, and a public URL for subscription forms, archives, and subscriber-facing pages. Documentation recommends separate DNS names that can point to the same host, often fronted with HTTPS and Let's Encrypt certificates on public installs.
Operators can install on Linux servers with provided scripts for CentOS or Ubuntu, run a local HTTP setup for testing, or start a full stack with Docker Compose that includes Mailtrain, MongoDB, Redis, and MariaDB. Campaign authors work through the trusted UI to manage lists, permissions, hierarchical namespaces, and send configurations such as DKIM signing.
Granular user permissions and flexible sharing allow teams to collaborate while keeping subscriber-facing assets on the public endpoint isolated from editorial tools.
Key features
- Subscriber list management
- List segmentation and custom fields
- MJML and HTML templates
- Triggered and RSS automations
- Multi-user permissions
- Hierarchical namespaces
- Three-endpoint security model
- Docker Compose stack deployment
Use cases
- Organization email newsletters
- RSS-driven campaign automation
- Self-hosted marketing lists
- Multi-tenant newsletter teams
- DKIM-signed bulk mail
Does the same job as
Mailtrain doesn't name these products itself, but its own description shows it does the same job.