Open source · Self-hosted · Agent-native
Stop renting your list.
Start ruling your inbox.
Visual flows, a shared reply inbox, your own SMTP sender pool, and an MCP server so AI agents can run campaigns for you. On your servers. No per-contact pricing. Ever.
$ git clone https://github.com/LuciferSharma/mailgod.git
Carved from a year of sending to a real 300,000-subscriber list. Every law below is a feature that ships in the box.
Your subscribers live in your MongoDB, not on a vendor's invoice. Export anything, anytime.
300 subscribers or 3 million, the license costs the same: nothing. MIT, forever.
Every email carries a tokenized Reply-To. Replies land in a shared inbox, threaded to the exact campaign and flow step.
Flows exit on reply and hand the lead to a human. No more robots following up on a "yes".
Per-subscriber frequency caps, a global rate limit, mailto List-Unsubscribe, CAN-SPAM footers.
A sender pool of your own SMTP mailboxes with daily caps, warmup, IMAP reply polling, and auto-pause when one gets sick.
RFC 5322 threading so follow-ups land in the same conversation, from the same mailbox that started it.
Click-tracking rewrites are disabled. Your links stay clean, and spam filters stay calm.
A built-in MCP server gives Claude and other agents 25 tools. Bulk sends are draft-first, so they can't blast your list by accident.
Engagement scoring, an auto-advancing pipeline, Cal.com bookings, and weekly reports that diagnose themselves.
Email SaaS charges more the more you grow and keeps your data hostage behind its UI. We think that's backwards.
docker compose up.The inbox was never theirs.
It was always yours.
Visual flows
Drag together sends, delays and branches. Follow-ups reuse the first subject, so the whole sequence reads as one conversation.
The moment someone replies, the flow exits, the subscriber gets tagged responded, and the conversation lands in your inbox with full context.
Agent-native
Mailgod ships an MCP server. Plug it into Claude Code (or any MCP client) and your agent can prospect, segment, write and send, all through the same rules your humans follow.
It's safe by design. Bulk sends are draft-first, only confirm_send dispatches, there's a global kill-switch, and you can set hard recipient caps.
Everything a growth team needs, in one Node + React + MongoDB app you can read end to end.
CSV import with bulk tags, custom fields, engagement scores, and a full event timeline per person.
AND/OR logic over any field, tag, custom attribute, or engagement score, with live counts.
Rich-text and HTML editors, Handlebars variables, presets, and a desktop/mobile preview.
Prospect panel, notes, labels, reminders, and auto-reply detection. Reply from the same thread.
Stages advance on opens, replies, and Cal.com bookings. Drag to override.
Batching, rate limiting, cron-scheduled sends, and optional Temporal for durable flows.
Installation
Docker, a MongoDB, and a SendGrid key when you're ready to send. That's the whole list.
$ git clone https://github.com/LuciferSharma/mailgod.git $ cd mailgod
$ cp .env.example .env # set ADMIN_PASSWORD, JWT_SECRET, # UNSUBSCRIBE_SECRET, SENDGRID_API_KEY
$ docker compose up -d # → http://localhost:8080