Email templates
Ten emails drawn from the theme and the brand settings, each previewed live, with HTML that carries Resend placeholders, ready to copy.
How to use
- The preview shows each email with sample words, such as “Olivia”, in the page’s theme. Switch the theme to see the dark version.
- Copy HTML copies the same email for the theme shown, with a placeholder such as
{{{FIRST_NAME}}}wherever the sample words were. - Paste it into a new template in Resend’s template editor. When you send with that template, Resend replaces each placeholder with the value you give it for that recipient, exactly as given, so pass the values through
resendVariablesfrom@/emails/placeholdersfirst: it escapes names a user typed and refuses a link that is not http or https. - Send the light version. Many email apps handle dark mode their own way, so the dark copy is for when you know the reader wants it.
Placeholders
- {{{FIRST_NAME}}}
- The recipient’s first name.
- {{{EMAIL}}}
- The recipient’s email address, shown in the footer.
- {{{ACTION_URL}}}
- Where the main button goes: log in, accept the invite, verify, download.
- {{{UNSUBSCRIBE_URL}}}
- The recipient’s own unsubscribe link.
- {{{PREFERENCES_URL}}}
- The recipient’s email preferences page.
- {{{INVITER_NAME}}}
- The name of the person who sent the invite.
- {{{TEAM_NAME}}}
- The team the recipient is invited to.
- {{{CODE_1}}}
- The first digit of the verification code.
- {{{CODE_2}}}
- The second digit of the verification code.
- {{{CODE_3}}}
- The third digit of the verification code.
- {{{CODE_4}}}
- The fourth digit of the verification code.
- {{{VIDEO_URL}}}
- Where the video still and watch button go.
Send it from your app
Your app can also send a template directly, passing the real values where the placeholders would go. Set EMAIL_ASSET_URL to where your site serves public/emails/ first: a production server will not render an email without it.
Or send the template you pasted into Resend, with every value escaped:
Simple welcome 01
A short welcome note under the logo and links, with a log in button.
Simple welcome 02
A welcome under a photo, three links to follow and a get started button.
Simple invite
A teammate’s invitation to join the team, with an accept button.
Simple verification
A four-digit code, how long it lasts, and a verify button.
Image welcome
A welcome under a wide abstract image, with a log in button.
Video welcome 01
A welcome with a video still, then the app download footer.
Video welcome 02
A how-to intro under a socials header, a video still and a watch button.
Video welcome 03
A video still, a welcome with tips, and watch and log in buttons.
Mockup 01
A product introduction around a laptop mockup, with a download button.
Mockup 02
A welcome around two phone mockups, with store badges.