RustMailer
Self-hosted email middleware, written in Rust, that gives applications one API for IMAP, SMTP, Gmail API and Microsoft Graph mail sync and sending.
- GitHub stars
- 508
- Last commit
- 10 days ago
- Latest release
- 1.7.3
- Self-hosted
- Yes

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
Pricing: Self-hosted licensing is annual: Starter is $199 per year for up to 10 accounts and Unlimited is $499 per year. Every plan includes a 14-day free trial.