fawwazF
Convex Community3y ago
37 replies
fawwaz

How to use react-email & Resend to send email through convex action

Hellow all 👋 , so initially I setup an action that trigger an email using Resend and the body of the email was plain html string, that worked fine. But now I tried to add react-email to be able to make a more professional looking email, and the action update hit an error every time it tries to update, see the image.

Also initially typescript complaint that I need to have jsx flag so the I update the tsconfigs for the convex file to have this "jsx": "react", I'm curious if this a limitation on how convex works or if there is way around this?
image.png
image.png
Was this page helpful?