Accounts and access

Magic link email template

Passwordless sign-in, with the link printed as well as linked.

Subject
Your sign-in link for {{productName}}
Line beside the subject
Your sign-in link for {{productName}}
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: "Magic link",  starter: "magic-link",  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
{{actionUrl}}
What it holds
Sign-in link
Takes
url
Default
None
Variable
{{expiryMinutes}}
What it holds
Expires in (minutes)
Takes
text
Default
15
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.

  • Button
  • 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.

Sign in to {{productName}}

Use the button below to sign in. The link works once and expires in 15 minutes.

Sign in {{actionUrl}}

Or paste this into your browser: {{actionUrl}}

If you did not ask to sign in, you can ignore this. Nobody can use the link but you.

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.