Open source alternatives to SendGrid
Twilio SendGrid is a hosted email API and SMTP relay for app and transactional email, with a separate Marketing Campaigns product. These open source platforms give you the API, templates and tracking on your own server, delivering through Amazon SES or your own mail server.
3 alternatives, sorted by GitHub stars as of 6 December 2026. Reviewed .
-
BillionMail
Mail server and email marketing panel in one self-hosted install, with Postfix, Dovecot and webmail
-
Plunk
Email platform for software products that combines transactional email, campaigns and workflows
-
useSend
Developer email platform on Amazon SES for transactional mail, contact books and campaigns
Compare at a glance
| App | License | Self-hosting needs | Hosted version | Last commit |
|---|---|---|---|---|
| BillionMail | AGPL-3.0 | PostgreSQL, Redis, Postfix, Dovecot, Rspamd, Open port 25 or SMTP relay | No | 6 months ago |
| Plunk | AGPL-3.0 | PostgreSQL, Redis, MinIO, Amazon SES | Yes | today |
| useSend | AGPL-3.0 | PostgreSQL, Redis, Amazon SES and SNS, GitHub or Google OAuth app | Yes | 8 days ago |
An asterisk marks a license with exceptions, such as proprietary directories or paid plugins; see the app page.
The open source alternatives to SendGrid are Plunk, which describes itself as a self-hosted alternative to SendGrid, Resend and Mailgun, useSend, a developer email platform with an API, SDKs and an SMTP relay, and BillionMail, which runs its own mail server and exposes a sending API. Plunk and useSend send through your own Amazon SES account, so you replace SendGrid’s software and pricing, not the need for a delivery service; BillionMail delivers the mail itself.
What SendGrid does
SendGrid is Twilio’s email delivery service. Applications send mail through a REST API or an SMTP relay, using dynamic templates, and SendGrid handles delivery, bounces and suppressions, with analytics and event webhooks reporting opens, clicks and failures. Higher plans add dedicated IP addresses, subusers for separating traffic, email address validation and single sign-on. Marketing Campaigns is a separate product with contact lists, a campaign editor and automations.
Why people look for an alternative
- Free plans retired. Twilio retired the free Email API and free Marketing Campaigns plans starting 28 May 2025. After a 60-day transition, sending was paused for free accounts, Marketing Campaigns tools were removed, and accounts with more than 100 contacts had all their contacts deleted. New accounts now get a 60-day trial.
- Features by tier. Plans are priced by monthly email volume. Dedicated IPs, subuser management and SSO are on Pro and Premier, the Essentials plan has one teammate seat, and searchable email activity covers 3 days on Essentials and 7 days on higher plans unless you buy more history.
- Hosted only. Message logs, templates and suppression lists stay with Twilio.
What to compare in an alternative
- Sending interface. REST API, SDKs for your languages, and an SMTP relay for software that only speaks SMTP.
- Delivery path. Whether the tool needs Amazon SES, works with any SMTP provider, or runs its own mail server with the IP reputation work that implies.
- Templates. Stored templates with variables, and how hard it is to convert SendGrid’s dynamic templates.
- Events. Bounce and complaint handling, a suppression list and webhooks for delivery events.
- Marketing mail. Whether campaigns and contact lists live in the same tool.
- Hosting. A hosted plan from the developers, or what self-hosting needs.
SendGrid alternatives compared
| App | License | Hosted by the developers | Send via | Delivery | Campaigns |
|---|---|---|---|---|---|
| Plunk | AGPL-3.0 | Yes | API, SMTP relay | Amazon SES | Yes, plus event-driven workflows |
| useSend | AGPL-3.0 | Yes | API, SDKs, SMTP relay | Amazon SES and SNS | Yes, with contact books |
| BillionMail | AGPL-3.0 | No | API, SMTP | Own Postfix server, or a relay per domain | Yes |
Which one to choose
Plunk is the closest match for a product team: transactional email through an API or SMTP, campaigns to segments, workflows triggered by events in your app, webhooks and inbound email. useSend focuses on the developer experience, with SDKs, webhooks for email events, a suppression list built from bounces and complaints, and campaigns for newsletters and product updates. Both have hosted versions if you do not want to run PostgreSQL, Redis and the SES setup yourself.
BillionMail suits teams that want to own delivery entirely: it installs Postfix, Dovecot, Rspamd and webmail alongside the sending panel. That needs an open port 25, clean IP addresses and careful SPF, DKIM and DMARC setup; it can also relay each domain through a provider such as SES.
If you used SendGrid’s Marketing Campaigns rather than the API, listmonk and Keila are dedicated newsletter tools that can send through SMTP or SES, and Keila can also send through SendGrid. More in the email marketing guide.
Migrating from SendGrid
- Code: None of these tools copies SendGrid’s API, so API calls must be rewritten for the new SDK or endpoint. Applications that use SMTP only need new host, port and credentials.
- Templates: Recreate dynamic templates; SendGrid uses Handlebars, while Plunk uses Liquid and useSend uses contact variables with fallback values.
- Suppressions: Export bounces, blocks and global and group unsubscribes from the SendGrid console as CSV files, and load them into the new tool so you do not email addresses that bounced or opted out.
- Contacts: Export Marketing Campaigns contacts as CSV; Plunk, useSend and BillionMail all import contacts from CSV.
- Domains: Verify your sending domain again and replace SendGrid’s DNS records with the new provider’s SPF and DKIM records.
Other apps in the same category. They are not listed as SendGrid alternatives, but one may suit you if you need only part of what it does.
-
Publishing platform that combines a website, email newsletters and paid memberships
- Stars
- 56k
- Last commit
- today
- License
- MIT
-
Self-hosted newsletter and mailing list manager in a single Go binary with PostgreSQL
- Stars
- 24.6k
- Last commit
- today
- License
- AGPL-3.0
-
Marketing automation platform with email campaigns, segments, forms, landing pages and lead scoring
- Stars
- 11.2k
- Last commit
- yesterday
- License
- GPL-3.0-or-later
-
Newsletter tool with signup forms, segments and several editors, self-hosted or hosted in the EU
- Stars
- 2.3k
- Last commit
- 3 days ago
- License
- AGPL-3.0-or-later
-
Laravel email marketing app with segments, workspaces and many sending providers
- Stars
- 2.2k
- Last commit
- 1 month ago
- License
- MIT
-
Long-running PHP and MySQL newsletter manager with detailed throttling and bounce rules
- Stars
- 883
- Last commit
- 5 days ago
- License
- AGPL-3.0
SendGrid is a product of Twilio. OpenSourcePicks is not affiliated with Twilio or with the projects listed. More tools in Email Newsletters.