score:3

please use this plugin

npm install react-html-email

to render a simple email:

import { email, item, span, a, renderemail } from 'react-html-email'
const emailhtml = renderemail(
<email title="hello world!">
  <item align="center">
    <span fontsize={20}>
      this is an example email made with:
      <a href="#">react-html- 
        email</a>.
    </span>
  </item>
</email>
)

Related Query

More Query from same tag