// the find
Mailtrain-org/mailtrain
Self hosted newsletter app
Mailtrain v2 is a self-hosted newsletter platform built on Node.js and MySQL/MariaDB. It covers the full lifecycle: subscriber list management, segmentation, campaign automation, WYSIWYG editors (Mosaico, GrapesJS, CKEditor), and built-in mail delivery via Zone-MTA. It's for teams or individuals who want Mailchimp-like functionality without handing their subscriber data to a third party.
The three-endpoint architecture (trusted/sandbox/public) is a real XSS mitigation, not a checkbox — sandboxing the WYSIWYG editors from the main app is the right call. Built-in Zone-MTA means you can get operational without configuring a separate MTA, which removes a significant setup hurdle. The namespace/permissions system supports genuine multi-tenancy, useful if you're running this for multiple teams or clients. MJML support means templates don't devolve into 2003-era table soup by default.
Node.js v14 is listed as the minimum and the codebase shows its age — v14 hit EOL in April 2023, so you're starting from a dependency hygiene hole. The default admin password is literally 'test' and the README buries the warning in a small-caps Docker table; someone will ship this misconfigured. The last meaningful activity appears to be maintenance-mode at best — 5.7k stars but the issue tracker tells the real story. No REST API documentation beyond a thin account/API page means integrating it into anything else is archaeology.