Self hosted newsletter app built on top of Nodemailer

Source on GitHub Subscribe to our newsletter

Official Mailtrain Partners


Free, open source mail server solution



A reliable SMTP server, easy integration, and 12,000 messages a month free

List management

Mailtrain allows you to easily manage even very large lists. Million subscribers? Not a problem. You can add subscribers manually, through the API or import from a CSV file. All lists come with support for custom fields and merge tags as well.

Custom fields

Text fields, numbers, drop downs or checkboxes, Mailtrain has them all. Every custom field can be included in the generated newsletters through merge tags.

List segmentation

Send messages only to list subscribers that match predefined segmentation rules. No need to create separate lists with small differences.

Donate to author

If you really like Mailtrain or your business benefits from it financially then I would really appreciate a small donation to keep the Mailtrain development engines running. You can either use Bitcoin or PayPal for donations. My Bitcoin wallet is 15Z8ADxhssKUiwP3jbbqJwA21744KMCfTM

or donate using PayPal

RSS Campaigns

Setup Mailtrain to track RSS feeds and if a new entry is detected in a feed then Mailtrain auto-generates a new campaign using entry data as message contents and sends it to selected subscribers.

GPG Encryption

If a list has a custom field for a GPG Public Key set then subscribers can upload their GPG public key to receive encrypted messages from the list.

Click stats

After a campaign is sent, check individual click statistics for every link included in the message.

Open source

Mailtrain is available under MIT license and completely open source.

Send via any provider

Mailtrain recommends SendPulse even though you can use any provider that supports SMTP protocol to send out your newsletters. Bounce and complaints handling via webhooks is supported for SES, SparkPost, SendGrid and Mailgun, also for Postfix and ZoneMTA.

Trigger based automation

Define automation triggers to send specific messages when a user activates the trigger.