Skip to content

mail

Self-hosted email marketing platform with automations, CRM and an MCP server

Copyleft (OSI) · GPL-3.0

Listed by , founder & editor

73

Health

Active

Overview

Stars

46

Last commit

5 days ago

Nov 2026

Repository age

1 year

since Aug 2025

Latest version

payments-v0.1.9

Nov 2026

Contributors

–

2 active in 90 days

Releases

25

last 12 months

Language

Go

Xem is a self-hosted alternative to Mailchimp. It covers campaigns and newsletters (one-off or scheduled, with a public archive and RSS), a visual automation builder, signup forms, lists, tags, segments and a small CRM with lead stages. A shared inbox lets you read and reply to IMAP, Gmail or Cloudflare mail next to your campaigns. It includes 214 templates.

You send through your own Amazon SES account or any SMTP server. It supports one-click unsubscribe headers, bounce and complaint handling into a suppression list, and guided DKIM setup. It does not own sending IPs, so reputation stays with your provider.

The stack is a Go API and workers, a Next.js app, PostgreSQL, Redis and S3-compatible storage. It deploys with Docker Swarm on a Linux server. An MCP server with 44 tools lets Claude and other agents run it. It reads exports from Mailchimp, Substack, beehiiv, Kit and Ghost, plus any CSV with an email column. A paid hosted version, Xem Cloud, is also offered.

Who it's for

Newsletter publishers moving off Mailchimp

It reads Mailchimp exports directly and keeps unsubscribed contacts unsubscribed.

Skip if: You need SMS marketing or e-commerce store integrations.

Small teams sending through their own SES account

You pay your provider's rates, and the software itself is free.

Skip if: You need dedicated sending IPs from your email tool.

Teams that want AI agents to run campaigns

The built-in MCP server exposes 44 tools for agents like Claude.

Skip if: You don't want to run Swarm, PostgreSQL and Redis yourself.

The problem it solves

Mailchimp and similar tools charge by contact count and keep your audience on their platform. Xem lets you send from your own SES or SMTP account and keep the audience data on your own server.

Strengths

  • Reads Mailchimp, Substack, beehiiv, Kit and Ghost exports
  • Visual automations with waits, splits, percentage tests and webhooks
  • MCP server with 44 tools plus an in-app assistant that asks for approval
  • REST API, webhooks and TypeScript and Go SDKs
  • Active development with 25 releases in the last year

Trade-offs

  • No native e-commerce store integrations
  • No SMS marketing
  • No dedicated sending IPs
  • GPL-3.0 license carries copyleft obligations

mail replaces

Self-host mail

Self-hostable
Yes
Minimum RAM
2 GB
Docker Compose
The repository ships a Compose file
Hosted plan
From $9/month · pricing

Quick start

curl -fsSL https://raw.githubusercontent.com/mailxem/mail/undefined/scripts/install.sh | bash

From the project's own install instructions. Check the docs for production settings.

Frequently asked questions

Is it free?

Self-hosting is free. You pay for your server and your email provider. Xem Cloud is free for 3,000 emails a month, then from $9 for 20,000.

Can I import from Mailchimp?

Yes. It reads Mailchimp exports, as well as Substack, beehiiv, Kit and Ghost, and any CSV with an email column.

What do I need to run it?

A Linux host with Docker Engine, Git, Python 3 and OpenSSL. A small install targets 2 CPU cores, 2 GB RAM and 20 GB of disk.

How is it licensed?

GPL-3.0.

Other Mailchimp alternatives

Compare all 5 Mailchimp alternatives →

Similar tools in Email marketing and newsletters

mailysend

Email marketing and newsletters

46 4 20 days ago Slowing MIT

Hyvor Post

Email marketing and newsletters

36 AGPL-3.0

emitmail

Email marketing and newsletters

26 12 days ago Active Apache-2.0

senddock

Email marketing and newsletters

Self-hosted email marketing for agencies running several clients from one install

24 1 13 days ago Active AGPL-3.0

Replaces Mailchimp

Listmonk

Email marketing and newsletters

Self-hosted newsletter and mailing list manager shipped as a single Go binary

24k 2.8k today Active AGPL-3.0

Notifuse

Email marketing and newsletters

Self-hosted email platform for newsletters, automations and transactional mail

2.3k 243 4 days ago Active AGPL-3.0

Replaces Mailchimp