If you're considering migrating from SendGrid to Resend, you're in the right place.
This guide will help you understand the key differences between the two services and provide you with the necessary steps to make the transition as smooth as possible.
Jump ahead
SendGrid and Resend are both email delivery services, but they have different histories and focuses.
Key differences
Both SendGrid and Resend provide user-friendly dashboards for managing your email sending.
Sender Authentication
In SendGrid you need to access the Sender Authentication page to verify your domain. SendGrid then allows you to add a Sender Identity by confirming an individual email address or authenticating a domain via DNS.
With Resend, domains are verified on the Domains page.
Both SendGrid and Resend offer similar authentication features.
Name | SendGrid | Resend |
---|---|---|
DKIM | DKIM enforced | DKIM enforced |
SPF | SPF enforced | SPF enforced |
DMARC | DMARC recommended | DMARC recommended |
Activity Feed
When you send email through SendGrid, sent email is visible on the Activity page.
When you send email with Resend, emails are visible on the Emails page.
Dashboard
SendGrid shows sending statistics on the Dashboard page.
In Resend, statistics are shown on the Metrics page.
Both SendGrid and Resend provide official SDKs for various programming languages, making it easy to integrate into your application.
Key differences
Platform | SendGrid | Resend |
---|---|---|
Node.js | sendgrid-nodejs | resend-node |
PHP | sendgrid-php | resend-php |
Python | sendgrid-python | resend-python |
Ruby | sendgrid-ruby | resend-ruby |
Go | sendgrid-go | resend-go |
Rust | - | resend-rust |
Java | sendgrid-java | resend-java |
C# | sendgrid-csharp | - |
Both SendGrid and Resend provide a REST API and SDKs for sending emails programmatically.
Key differences
Mail Merge
Rate limiting
Logging
SendGrid
const sgMail = require('@sendgrid/mail');sgMail.setApiKey(process.env.SENDGRID_API_KEY);const msg = {to: 'receiver@example.com',from: 'sender@example.com',subject: 'hello world',html: '<p>it works!</p>',};sgMail.send(msg)';
Resend
import { Resend } from 'resend';const resend = new Resend('re_123456789');await resend.emails.send({from: 'Acme <onboarding@resend.dev>',to: ['delivered@resend.dev'],subject: 'hello world',html: '<p>it works!</p>',});
Both SendGrid and Resend support sending emails via SMTP.
SMTP stands for Simple Mail Transfer Protocol. It is a text-based protocol in which one server communicates with another to send an email.
Key differences
Configurations
X-SMTPAPI
header (see docs).Configuration | SendGrid | Resend |
---|---|---|
Host | `smtp.sendgrid.net` | `smtp.resend.com` |
Port | 25, 465, 587, or 2525 | 25, 465, 587, 2465, or 2587 |
Username | The `apikey` string | The '`resend`' string |
Password | SendGrid API Key | Resend API key |
Authentication | Plain text (unencrypted), SSL, or TLS | SMTPS or STARTTLS |
Both SendGrid and Resend provide webhooks to notify your application of email events.
Key differences
Event | SendGrid | Resend |
---|---|---|
Inbound | inbound | - |
Send | processed | email.sent |
Dropped | dropped | - |
Delivery | delivered | email.delivered |
Delivery Delayed | deferred | email.delivery_delayed |
Bounces | bounce | email.bounced |
Complaints | spamreport | email.complained |
Open Tracking | open | email.opened |
Click Tracking | click | email.clicked |
Unsubscribe | unsubscribe | contact.updated |
SendGrid and Resend have robust and similar security features.
Name | SendGrid | Resend |
---|---|---|
Authentication | Email/Password, Google | Email/Password, Google, GitHub |
Single Sign-On | SSO available | SSO available |
Multi-Factor Auth | MFA available | MFA available |
GDPR | GDPR compliant | GDPR compliant |
SOC 2 | SOC 2 compliant | SOC 2 compliant |
Outside of core email sending, Resend offers additional features that SendGrid does not have that may be helpful for you.
Deliverability Insights
Improve your chances of landing in the inbox instead of the spam folder with detailed recommendations on each email sent.
Deliverability Insights
Improve email deliverability by identifying issues and applying best practices.
resend.com/blog/deliverability-insights
Multi-Region
Improve your email deliverability speed by using a region nearest to your users.
Faster Email Delivery with Multi-Region
Faster deliverability with reduced latency.
resend.com/blog/multi-region
SendGrid and Resend offer competitive pricing based on the number of emails sent.
Key differences
Emails | SendGrid | Resend |
---|---|---|
3,000 | $0 | $0 |
50,000 | $19.95 | $20 |
100,000 | $34.95 | $35 |
200,000 | $249 | $160 |
500,000 | $499 | $350 |
1,000,000 | $799 | $650 |
1,500,000 | $799 | $825 |
2,500,000 | $1,099 | $1,050 |
Ready to migrate to Resend? Press S
to get started. If there's anything else we can help with, contact our team, and we'll answer any questions you have.