
MisarMail is MIT-licensed, self-hosted email marketing — campaigns, automation, analytics, and transactional API in one platform.
Your subscriber data lives in your own PostgreSQL database. No vendor holds your list hostage.
100k subscribers sending weekly = ~$60/month (VPS + SES) vs $800+/month on Mailchimp Standard.
Requires a VPS + Docker. Not for non-technical teams who want zero server involvement.
The email marketing industry has a peculiar structure: a handful of large SaaS platforms control the infrastructure, set the pricing, and hold your subscriber list as collateral. If you stop paying, you lose access. If they suspend your account, your audience is gone. If they raise prices — as they do — you either pay or migrate.
MisarMail is built on a different model. It's open-source email infrastructure that runs on your own server. You own the code, you own the data, and you own the sending reputation built on your domain.
"Open source" means the source code is publicly available and auditable. For email marketing infrastructure, this has specific implications:
Security auditing: You can verify what the software does with your subscriber data. There's no black box where your list might be shared, analyzed, or sold. The code is readable.
No vendor lock-in: Your data is in a standard PostgreSQL database. If MisarMail ever stops being the right tool for you, you export your database and move. No proprietary formats, no hostage data.
Community contributions: Bug fixes, security patches, and new features can come from the community, not just one company's roadmap.
Compliance: For regulated industries, being able to demonstrate exactly how personal data is handled — down to the code level — is valuable. With closed-source SaaS, you rely on the vendor's representations. With open source, you can verify.
Customization: Need a custom integration, a specific automation trigger, or a modified API endpoint? Fork the code and build it. No waiting for a vendor to add a feature to their roadmap.
MisarMail is a complete email marketing platform, not a library or a framework. Out of the box, it provides:
Create and send email campaigns with a visual drag-and-drop editor or raw HTML. Template library included. Schedule campaigns in advance or send immediately.
Campaigns support:
A/B split testing on subject lines and content
Segmentation — send to specific segments of your list
Personalization tokens (first name, custom fields, any subscriber attribute)
Preview rendering across email clients
Spam score checking before send
Import subscribers from CSV, via API, or through embed forms. Full custom field support — store any attribute alongside an email address.
Segmentation is tag-based and property-based: create dynamic segments like "subscribed in the last 30 days" or "clicked link X but didn't purchase" and they update automatically.
Suppression lists handle unsubscribes, bounces, and complaints automatically. Suppressed contacts are never re-added.
Build automated sequences triggered by subscriber events:
Welcome sequences when someone subscribes
Onboarding drips based on feature usage
Re-engagement campaigns for cold subscribers
Behavioral triggers (email opened, link clicked, purchase made)
Date-based sequences (birthday emails, annual renewal reminders)
The automation builder uses a visual canvas with branching logic. If/else conditions, time delays, and external webhook triggers are all supported.
Every campaign generates:
Open rates (with privacy-respecting tracking that doesn't require pixels)
Click-through rates with per-link breakdown
Unsubscribe and bounce rates
Revenue attribution if you connect your payment system
Subscriber growth over time
Geographic distribution
Analytics data lives in your database. Export it, query it, pipe it into your data warehouse — it's your data.
Beyond campaigns, MisarMail includes a REST API for transactional email: receipts, password resets, notifications, anything event-driven. The API is compatible with common email SDK patterns, so migrating from Mailgun or Postmark requires minimal code changes.
Rate limits are configurable. Send from multiple domains. Log all sent email for compliance.
GDPR-compliant unsubscribe handling is built in, not bolted on:
One-click unsubscribe links in every campaign email
RFC 8058 List-Unsubscribe-Post header support (required by Gmail for high-volume senders)
Consent records stored with timestamp, form version, and IP address
Data subject access requests exportable in 30 seconds
Right to erasure removes personal data while preserving suppression record
MisarMail fires webhooks for subscriber events — subscribe, unsubscribe, bounce, complaint, email open, link click. Connect to Zapier, Make, or your own backend to trigger actions in other systems.
Pre-built integrations include:
Stripe (revenue attribution, subscription status segmentation)
Supabase and PostgreSQL (sync subscriber data with your product database)
REST API for custom integrations
MisarMail is deployed via Docker Compose. A production-ready docker-compose.yml is included in the repository.
Components:
Web app (Next.js): Campaign builder, subscriber management, analytics dashboard
Worker (Node.js): Async queue processing for campaign sends and automation execution
PostgreSQL: All subscriber data, campaigns, analytics, and consent records
Redis: Job queue, rate limiting, caching
Infrastructure requirements:
Minimum 2GB RAM VPS (4GB recommended for lists over 100k)
Any cloud provider (Hetzner, DigitalOcean, AWS, Linode)
Docker and Docker Compose installed
SMTP relay: MisarMail handles campaign management and routing but uses your SMTP relay for actual delivery. Amazon SES is the recommended option at $0.10/1,000 emails. Mailgun, Postmark, and any SMTP-compatible relay also work.
MisarMail is free to self-host. The source code is MIT-licensed — use it, modify it, deploy it.
The only costs are:
VPS: $5–20/month depending on list size and send volume
SMTP relay: Amazon SES at $0.10/1,000 emails (or another relay of your choice)
Domain: If you don't have one already
For a list of 100,000 subscribers sending weekly campaigns (400k emails/month):
SES cost: $40/month
VPS cost: $20/month for a capable machine
Total: ~$60/month
Mailchimp Standard for the same list: approximately $800/month.
MisarMail Cloud (managed hosting, we run the infrastructure) is available if you want the software without the server management. Pricing is flat-rate by tier, not per-contact.
Developer-led teams who want email infrastructure they own and can customize.
High-volume senders where per-contact or per-email SaaS pricing becomes significant.
Privacy-conscious businesses where subscriber data sovereignty is a requirement, not a preference.
Regulated industries (healthcare, finance, legal) where data residency and third-party processor minimization matter for compliance.
Agencies and consultancies building email infrastructure for clients who shouldn't have their data in a third-party SaaS.
Product companies embedding email marketing into a product they're building or selling.
MisarMail is not optimized for people who want a point-and-click tool with zero technical involvement. If you want to send a newsletter without touching a server, the SaaS options in the market are better fits. If you want to own your infrastructure — and the significant long-term cost and compliance advantages that come with it — MisarMail is built for you.
For comparisons with specific platforms: MisarMail vs Mailchimp | MisarMail vs Brevo | MisarMail vs SendGrid
Get started with MisarMail →
1 followers
AI systems builder · 7 years in production. RAG, self-hosted infra, agent architecture. 📬 Deep-dives → mrgulshanyadav.substack.com
Comments
Sign in to join the conversation
No comments yet. Be the first to share your thoughts!