BillionMail is a free, open source marketing & customer engagement project written in Go and released under AGPL-3.0. It has 15,611 GitHub stars, 1,702 forks and 239 open issues, and was last pushed 3 months ago. On this registry it ranks #7 of 50 tracked projects in Marketing & Customer Engagement, with 5 head-to-head comparisons available. It gained 8 stars over the last 3 tracked days.

What is BillionMail?

What it is

BillionMail is an open-source mail server, newsletter, and email marketing platform that runs entirely on infrastructure the operator controls. It is written in Go and released under the AGPL-3.0 license, and it lives in the self-hosted email and marketing ecosystem alongside the mail transfer and delivery components it bundles, including Postfix, Dovecot, and Rspamd. The project ships as a complete stack rather than a single binary, combining a sending server, a campaign manager, and a webmail client so that one deployment covers transactional mail, promotional campaigns, and newsletters.

The concrete problem it solves is the cost and lock-in of hosted email marketing services. Most commercial platforms charge recurring fees, keep campaign data on third-party servers, and cap the volume of messages an account may send. BillionMail replaces that arrangement with software the operator installs on their own machine, which removes monthly fees, removes sending limits, and keeps subscriber lists and analytics on local storage. It also folds in the mail server itself, so a user does not need to assemble Postfix, Dovecot, and Rspamd by hand to begin sending.

Key capabilities

  • Self-hosted mail server built on Postfix, Dovecot, and Rspamd for sending and delivery.
  • Newsletter and email marketing campaigns with list and tag selection at send time.
  • Advanced analytics covering delivery, open rates, and click-through rates.
  • Customer and subscriber management for organizing recipients.
  • Customizable marketing templates that can be saved and reused.
  • Integrated RoundCube webmail, reachable at the /roundcube/ path.
  • Domain onboarding with DNS record verification and automatic free SSL enablement.

Who uses it and how

  • Businesses and individuals running their own newsletter and promotional campaigns without a hosted provider.
  • Operators who need transactional email alongside marketing mail from a single deployment.
  • Teams that want subscriber data and campaign analytics to remain on their own servers rather than a vendor's.
  • Administrators managing domains through the bm script, using bm show-record to display DNS records and bm update to upgrade.
  • Users who prefer a browser-based mail client, served through the bundled RoundCube interface.

Getting started

The README gives three paths: a shell installer run with cd /opt && git clone https://github.com/aaPanel/BillionMail && cd BillionMail && bash install.sh, a Docker route using cp env_init .env && docker compose up -d, and a one-click install through the aaPanel control panel. A live demo is available at https://demo.billionmail.com/billionmail.

When to use it — and when not to

BillionMail is aimed at replacing paid, closed-source email marketing platforms, and it removes their recurring fees and sending caps while keeping data private. A self-hoster must still operate the full mail stack, including the Postfix, Dovecot, and Rspamd components, plus DNS records and SSL for each sending domain, so the operational burden is real. The project carries 239 open issues and is two years old, which suggests an active but still maturing codebase rather than a finished product.

project readme (upstream, from github) — read inline

BillionMail 📧

An Open-Source MailServer, NewsLetter, Email Marketing Solution for Smarter Campaigns

![][license-shield] ![][github-stars-shield]

English | 简体中文 | 日本語 | Türkçe


aaPanel%2FBillionMail | Trendshift

What is BillionMail?

BillionMail is a future open-source Mail server, Email marketing platform designed to help businesses and individuals manage their email campaigns with ease. Whether you're sending newsletters, promotional emails, or transactional messages, this tool will provide full control over your email marketing efforts. With features like advanced analytics, and customer management, you'll be able to create, send, and track emails like a pro.

BillionMail Banner

Just 3 steps to send a billion emails!

Billion emails. Any business. Guaranteed.

Step 1️⃣ Install BillionMail:

✅ It takes only 8️⃣ minutes from installation to ✅ successful email sending

cd /opt && git clone https://github.com/aaPanel/BillionMail && cd BillionMail && bash install.sh

Step 2️⃣: Connect Your Domain

  • Add the sending domain
  • Verify DNS records
  • Auto-enable free SSL

Step 3️⃣: Build Your Campaign

  • Write or paste your email
  • Choose list & tags
  • Set send time or send now

YouTube Watch on Youtube

Other installation methods

One-click installation on aaPanel

👉 https://www.aapanel.com/new/download.html (Log in to ✅aaPanel --> 🐳Docker --> 1️⃣OneClick install)

Docker

cd /opt && git clone https://github.com/aaPanel/BillionMail && cd BillionMail && cp env_init .env && docker compose up -d || docker-compose up -d

Management script

  • Management help

    bm help

  • View Login default info

    bm default

  • Show domain DNS record

    bm show-record

  • Update BillionMail

    bm update

Live Demo

BillionMail Demo: https://demo.billionmail.com/billionmail

Username: billionmail

Password: billionmail

WebMail

BillionMail has integrated RoundCube, you can access WebMail via /roundcube/.

Why BillionMail?

Most email marketing platforms are either expensive, closed-source, or lack essential features. BillionMail aims to be different:

Fully Open-Source – No hidden costs, no vendor lock-in.
📊 Advanced Analytics – Track email delivery, open rates, click-through rates, and more.
📧 Unlimited Sending – No restrictions on the number of emails you can send.
🎨 Customizable Templates – Custom professional marketing templates for reuse. 🔒 Privacy-First – Your data stays with you, no third-party tracking.
🚀 Self-Hosted – Run it on your own server for complete control.

How You Can Help 🌟

BillionMail is a community-driven project, and we need your support to get started! Here's how you can help:

  1. Star This Repository: Show your interest by starring this repo.
  2. Spread the Word: Share BillionMail with your network—developers, marketers, and open-source enthusiasts.
  3. Share Feedback: Let us know what features you'd like to see in BillionMail by opening an issue or joining the discussion.
  4. Contribute: Once development begins, we'll welcome contributions from the community. Stay tuned for updates!

📧 BillionMail – The Future of Open-Source Email Marketing.

Issues

If you encounter any issues or have feature requests, please open an issue. Be sure to include:

  • A clear description of the problem or request.
  • Steps to reproduce the issue (if applicable).
  • Screenshots or error logs (if applicable).

Install Now:

✅It takes only 8 minutes from installation to successful email sending

cd /opt && git clone https://github.com/aaPanel/BillionMail && cd BillionMail && bash install.sh

Install with Docker: (Please install Docker and docker-compose-plugin manually, and modify .env file)

cd /opt && git clone https://github.com/aaPanel/BillionMail && cd BillionMail && cp env_init .env && docker compose up -d || docker-compose up -d

Star History

Star History Chart

License

BillionMail is licensed under the AGPLv3 License. This means you can:

✅ Use the software for free.
✅ Modify and distribute the code.
✅ Use it privately without restrictions.

See the LICENSE file for more details.


[github-stars-shield]: https://img.shields.io/github/stars/aaPanel/BillionMail?color=%231890FF&style=flat-square    [license-shield]: https://img.shields.io/github/license/aaPanel/BillionMail

Frequently asked questions

Is BillionMail free to use?

BillionMail is open source under the AGPL-3.0 licence. There is no licence fee and no seat count — you can self-host it or, where the project offers one, pay a vendor for a managed version instead.

What does BillionMail do?

BillionMail gives you open-source MailServer, NewsLetter, Email Marketing — fully self-hosted, dev-friendly, and free from monthly fees. Join the discord: http

What is BillionMail written in?

BillionMail is primarily written in Go. Its source is publicly available at https://github.com/Billionmail/BillionMail, and it has 15,611 GitHub stars.