Fully-managed react-email, inside Resend #976
Replies: 3 comments
-
I like the ideas a lot! Also, would you find it easier to iterate on the emails from Resend, or from your local codebase? I ask that because a nice idea that maybe might solve this for you, would be to have some sort of SDK for each kind of back-end language that helps render the emails even with passing props into the components. A |
Beta Was this translation helpful? Give feedback.
-
Like codepen where we can write the code and see the preview, then send it to someone? That would be great, when I heared about resend, I thought they might have this, but actually not |
Beta Was this translation helpful? Give feedback.
-
Bit of an update to this, Zeno and Bu talked about something like this on their Q&A |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Goals
react-email
, directly inside Resendapikey
,template_ID
, and a JSON blob that satisfies the interface from above, to Resend.Background
At Clerk, we have a
go
backend which is also where a lot of SQL queries happen, for customer data. This customer data is eventually injected into.txt
email templates (today), and maybe soon,react-email
-outputted HTML templates.go
SDK here is a great DXIn a separate playground repo, i'm using
react-email
and setting various strings in rendered HTML like{{thing}}
so that resulting output can be used as a template in ourgo
backend's template engine of choice (ie. handlebars).go
codebase is an awkward DXIt would be nice to eliminate this separate repo, and lean into Resend as platform more. 😍
Proposal
This should exist as a fully-managed feature.
Beta Was this translation helpful? Give feedback.
All reactions