Transactional email template

Magic Link Sign-In Email Template

A concise passwordless sign-in email that explains device context, expiration, and what to do with an unexpected request.

Preview data

Copyable HTML

Production-oriented source

Variables

{{company_name}}
Product or company name
{{recipient_name}}
Recipient display name
{{magic_link_url}}
Single-use HTTPS sign-in link
{{expires_in}}
Human-readable link lifetime
{{requested_device}}
Non-sensitive device context
{{support_email}}
Security contact
{{company_address}}
Company mailing address

Implementation notes

  • Bind the token to one account and consume it on first successful use.
  • Avoid putting sensitive personal data in the URL or analytics parameters.
  • Consider an interstitial confirmation when the email client and browser devices differ.

Use your renderer to escape untrusted values. Generate a meaningful plain-text alternative and test the final server-rendered message in recipient clients you support.