From MJML
- Remove the
mjmlnpm package and installreact-emailand@react-email/components - Find all MJML templates ending with the
.mjmlextension and convert these to React components with the.tsxor.jsxextension. - Replace MJML standard component tags with React Email component tags where possible, including
<Text>,<Img>,<Button>etc. - Convert custom MJML components with the
.jsextension to React components with the.tsxor.jsxextension.
Image
Display an image in your email.
Link
A hyperlink to web pages or anything else a URL can address.
Divider
Display a divider that separates content areas in your email.
Preview
A preview text that will be displayed in the inbox of the recipient.