
Hyvor Relay
Open-source, self-hosted Email API for developers
708 stars 37 forks last commit first released AGPL-3.0
Actively maintained
Last commit 10 Jul 2026.

Hyvor Relay is an open-source, self-hosted Email API designed for developers and organizations that need programmatic email sending with deliverability controls and observability. It combines a REST API backend, Go-based workers and SMTP servers, and a SvelteKit frontend to provide a complete mail delivery platform for transactional and distributional workflows.
Key Features
- RESTful, idempotent Email API that supports HTML/plain text, attachments, custom headers, and multiple recipients.
- Built-in SMTP sending components, delivery retries, greylisting handling, bounce & complaint management, and suppression lists.
- Automated DNS handling (MX/SPF/DKIM) via an integrated DNS server to simplify domain setup and signing.
- Multi-tenant projects with scoped API keys, webhooks for real-time event delivery, and 30-day searchable email logs including SMTP traces.
- Observability integrations with Prometheus metrics and Grafana dashboards, plus health checks and deliverability monitoring.
- Flexible deployment: Docker Compose / Swarm-based self-hosting, plus an enterprise licensing option with commercial support.
Use Cases
- Developers building transactional email delivery (password resets, receipts, notifications) with full control over deliverability and logs.
- Organizations wanting a self-hosted alternative to third-party providers for privacy, auditability, or regulatory reasons.
- Teams that need integrated observability and automation for large-scale sending (queue isolation, health checks, metrics).
Limitations and Considerations
- The project is licensed under AGPL-3.0; organizations that cannot accept AGPL obligations may need the commercial enterprise license option.
- The hosted "Cloud" offering was planned as a separate managed product with initial focus on transactional email; self-hosting remains the primary production path for many users.
- Hyvor Relay does not include built-in newsletter management or advanced marketing/list-management features; it targets email sending and delivery rather than full campaign management.
In summary, Hyvor Relay provides a developer-focused, open-source email sending platform with integrated DNS automation, webhooks, and observability. It is suitable for teams that need a self-hosted, extensible alternative to managed email providers while accepting AGPL licensing or opting for a commercial license.
Categories:
Tags:
Tech Stack:
Similar to Hyvor Relay
OpenTrashmail
Self-hosted disposable email inbox with web UI, API, RSS, webhooks
OpenTrashmail is a standalone disposable email (“trashmail”) service with its own SMTP server, offering a web UI plus JSON API, RSS feeds, and webhooks for received mail.
Maddy Mail Server
Composable all-in-one SMTP/IMAP mail server with security features
Go-based, modular mail server implementing SMTP/LMTP/IMAP with built-in DKIM/SPF/DMARC, storage backends (SQLite/Postgres/S3), Prometheus metrics and Docker support.

Notifuse
Self-hosted platform for newsletters and transactional email
Open-source emailing platform for newsletters and transactional emails with a visual MJML builder, segmentation, A/B testing, analytics, and a REST API with webhooks.

Postal
Open source mail delivery platform for inbound and outbound email
Postal is an open source mail delivery platform for sending and receiving email, with SMTP support, web-based management, and tools for running your own SendGrid-style service.

OpenSMTPD
Secure, lightweight SMTP server implementation compliant with RFC 5321
OpenSMTPD is an open-source, minimal SMTP daemon from the OpenBSD project providing an RFC-compliant MTA with privilege separation, table backends, filters and TLS support.
Mox
Modern, secure, all-in-one mail server for self-hosted email
All-in-one secure mail server with SMTP, IMAP, webmail, automatic TLS (ACME), and built-in SPF/DKIM/DMARC plus junk filtering for low-maintenance domains.





