resend / resend-node

Resend's Official Node.js SDK
MIT License
493 stars 39 forks source link

Have the text property automatically filled when the react property is used when sending emails. #369

Open ValentinH opened 3 weeks ago

ValentinH commented 3 weeks ago

Do you recommend to always send a text version of an email along with the html version? If yes, could we have the SDK automatically set the text property when we use the react one (doing a second render with the plainText: true option)?

bukinoshita commented 2 weeks ago

Do you recommend to always send a text version of an email along with the html version? If yes, could we have the SDK automatically set the text property when we use the react one (doing a second render with the plainText: true option)?

Yes, having the text version of the email is usually recommended. That's a great suggestion, ideally this should be on API side so user never needs to send the text version doesn't matter which SDK they are using. Doing on SDK side with React Email is easier though

We will explore more