Overview
Moving from SendGrid to Unosend simplifies your email infrastructure. No more complex template engines or Web API v3 quirks — just a clean REST API. Why switch:- Simpler API — clean JSON payloads vs SendGrid’s nested
personalizationsobjects - Better pricing — up to 60% lower at scale
- Unlimited broadcasts — no separate marketing email limits
- Built-in SMS + WhatsApp — no need for separate Twilio services
Migration Steps
1. Create Your Unosend Account
- Sign up at unosend.co/signup
- Add and verify your sending domain
- Generate an API key
2. Update Environment Variables
3. Update Your Code
- Node.js
- Python
- cURL
Before (SendGrid):After (Unosend):
4. Update DNS Records
Remove SendGrid’s DNS records and add Unosend’s:| Type | Name | Value |
|---|---|---|
| TXT | unosend._domainkey | Your DKIM public key |
| MX | send | 10 mail.unosend.co |
| TXT | send | v=spf1 include:_spf.unosend.co ~all |
5. Migrate Contacts
Export contacts from SendGrid (Marketing → Contacts → Export) as CSV, then import into Unosend:- Go to Audiences in the Unosend dashboard
- Create an audience
- Click Import Contacts
- Upload your SendGrid CSV export
Key Differences
| Feature | SendGrid | Unosend |
|---|---|---|
| Email payload | Nested personalizations array | Flat JSON object |
to field | [{"email": "..."}] | ["email@..."] |
| HTML content | content: [{type, value}] | html: "..." |
| Webhooks | Event Webhook | Native webhooks |
| Templates | Dynamic Templates (Handlebars) | Mustache variables |
| SMTP | Port 587 | Ports 25, 465, 587, 2525 |
Pricing Comparison
| Emails/Month | SendGrid | Unosend | Savings |
|---|---|---|---|
| 40,000 | $20/mo (Essentials) | $20/mo | Same |
| 100,000 | $45/mo | $50/mo | — |
| 300,000 | Custom | $165/mo | — |
| 1,000,000 | Custom | $600/mo | — |
Quick Start Guide
Get sending in under 5 minutes