Accounts and access

Verification code email template

A one-time code, set large enough to read off a second screen.

Subject
Your {{productName}} verification code
Line beside the subject
Your {{productName}} verification code
Kind
Accounts and access
Looks
Minimal, Modern, Bold, Classic, Dark, Soft

Use this template.

One call makes a template of your own from it, in the look you pick. Every block can be changed afterwards, in the editor or through the API.

Make a template from this starter
import { OpenSend } from '@open-send/opensend' const opensend = new OpenSend() const template = await opensend.templates.create({  name: "Verification code",  starter: "verify-code",  style: "minimal",})

Its variables.

A variable stands in the message as its name in double braces, and is filled when you send.

Variable
{{productName}}
What it holds
Product name
Takes
text
Default
None
Variable
{{code}}
What it holds
The code
Takes
text
Default
None
Variable
{{expiryMinutes}}
What it holds
Expires in (minutes)
Takes
text
Default
10
Variable
{{footerNote}}
What it holds
Footer note
Takes
text
Default
You are receiving this because somebody asked to sign in.

Built from blocks.

Every block of this email is a React Email component, so what is sent is markup that mail apps accept.

  • Column
  • Container
  • Heading
  • Row
  • Text
Build with React Email

The words.

The plain text version, which goes out beside the HTML for mail apps that show none.

Confirm your email

Enter this code to finish signing in to {{productName}}. It expires in 10 minutes.

{{code}}

If you did not ask for this, nothing has happened yet and you can ignore this message, because the code is useless on its own.

You are receiving this because somebody asked to sign in.

More accounts and access templates.

Accounts and access email templates
  • The Team invitation email template
    Team invitation

    An invitation that names the inviter and the role being offered.

    Accounts and access
  • The Welcome email template
    Welcome

    A signup welcome with a wordmark, short greeting, one primary call-to-action and a plain sign-off.

    Accounts and access
  • The Password reset email template
    Password reset

    A plain, single-action security email with a reset button, a pasteable fallback link, and an explicit expiry-and-ignore line.

    Accounts and access
React Email

Built with React Email.

The blocks of every template are React Email components. Send components of your own, or change these.

Send your first email in a few minutes.

Create a key and send, or clone the repository and run it yourself.