Resend Component
Hey everyone. I made a Convex + Resend component:
https://www.convex.dev/components/resend
This component is the official way to integrate the Resend email service with your Convex project. I strongly recommend you use it if you're sending user email in your Convex app!
Features:
- Queueing: Send as many emails as you want, as fast as you want—they'll all be delivered (eventually).
- Batching: Automatically batches large groups of emails and sends them to Resend efficiently.
Durable execution: Uses Convex workpools to ensure emails are eventually delivered, even in the face of temporary failures or network outages.
- Idempotency: Manages Resend idempotency keys to guarantee emails are delivered exactly once, preventing accidental spamming from retries.
- Rate limiting: Honors API rate limits established by Resend.
Give it a shot and let me know if you run into any issues!
4 Replies
oh wow this is awesome
Just what I was looking for!
🙌
I think it would be cool if we could pass react-email component and have it automatically rendered to HTML before sending, similiar to
resend.emails.send()
. This would eliminate the need for manual rendering before every sendEmail
call.