About RustMailer
RustMailer is a self-hosted service that sits between your application and mail providers. Instead of wiring up IMAP, SMTP, Gmail API and Graph API clients separately, developers call a single service that handles account synchronization, caching and delivery. It is written in Rust.
It polls and caches multiple IMAP accounts, sends mail over SMTP with template support, and dispatches events through webhooks or message queues. Repository topics point to gRPC and OpenAPI interfaces, and the README suggests uses such as multi-account sync in SaaS products, transactional email from CRMs, open and click tracking, and support software that needs live notifications.
Because it runs on your own infrastructure, it suits teams in regulated areas such as fintech and healthcare that want auditable email workflows, and it works with any programming language through its API. The licence is listed as other, so check the repository terms before commercial use.
Key features
- Unified API for IMAP, SMTP, Gmail and Graph
- Multi-account IMAP polling and caching
- SMTP sending with email templates
- Webhook and message queue event dispatch
- Open and click tracking via webhooks
- gRPC and OpenAPI interfaces
Good fit for
- Adding mailbox sync to a SaaS product
- Transactional email for CRMs and e-commerce
RustMailer: questions and answers
- What is RustMailer used for?
- RustMailer is self-hosted email middleware, written in Rust, that gives applications one API for IMAP, SMTP, Gmail API and Microsoft Graph mail sync and sending. It is a good fit for adding mailbox sync to a SaaS product, and transactional email for CRMs and e-commerce.
- Is RustMailer open source?
- Yes. RustMailer is open source under a custom licence. Its source code is on GitHub at rustmailer/rustmailer and is written mainly in Rust.
- Is RustMailer free?
- Yes. RustMailer is open source, so the software itself is free to use under the terms of its own licence. Paid plans are also available, starting at $199 per year.
- Can I self-host RustMailer?
- Yes. RustMailer can be self-hosted on your own server or infrastructure.
- What is RustMailer an alternative to?
- RustMailer is an open-source alternative to Nylas. Other open-source alternatives to Nylas include Pipedream, Google Workspace CLI and Reaction Commerce.
- Is RustMailer actively maintained?
- Yes. The most recent commit to RustMailer was on 16 October 2026, and the latest release is 1.7.6, published on 16 October 2026. The project has 521 stars on GitHub, with 8 added in the last 30 days.
Open-source alternatives to RustMailer
See all
Pipedream
Workflow Automation
Connect APIs, remarkably fast. Free for developers.
OSSvs Zapier★ 12k
Google Workspace CLI
Developer Tools
Google Workspace CLI — one command-line tool for Drive, Gmail, Calendar, Sheets, Docs, Cha
Apache-2.0vs Tavily★ 32k
Reaction Commerce
E-commerce
Project has been discontinued ////// Mailchimp Open Commerce is an API-first, headless com
GPL-3.0vs commercetools★ 12k
Stalwart
Email Clients & Servers
All-in-one Mail & Collaboration server. Secure, scalable and fluent in every protocol (IMA
OSSvs Google Workspace★ 16k
docker-mailserver
Email Clients & Servers
Production-ready fullstack but simple mail server (SMTP, IMAP, LDAP, Antispam, Antivirus,
MITvs Gmail★ 20k
Mail-in-a-Box
Email Clients & Servers
Mail-in-a-Box helps individuals take back control of their email by defining a one-click,
CC0-1.0vs Gmail★ 15k
SaaS alternatives to RustMailer
See all
Nylas
API Tools
Email, calendar and contacts API for connecting apps to user inboxes
SaaS
Apple Mail
Email Clients & Servers
Built-in Apple email client supporting iCloud, Gmail, Outlook and IMAP accounts
SaaS
Microsoft Outlook
Email Clients & Servers
Email, calendar and contacts client from Microsoft for personal and work accounts
SaaS
ProtonMail API
Email Clients & Servers
Encrypted email service based in Switzerland
SaaS
Polymail
Email Clients & Servers
Email client with tracking, send later and sales features
SaaS
Anjal
Email Clients & Servers
Email APIs, IMAP/SMTP access and custom domains so AI agents can send, receive and manage email
SaaS

