# Magic sign-in link

A graphite access pass with electric lime details, a prominent expiry and one clear sign-in action.

Canonical: https://www.stampwing.com/templates/magic-link
Updated: 2026-10-05
Category: Transactional

## When to use it

Send only after a sign-in request. The email is a presentation layer; your authentication system must validate and consume the token.

The template supplies the design; your app handles the action. Preview values below are synthetic. Browser rendering does not establish compatibility with every email client.

## Inbox content

Subject: Your {{app_name}} sign-in link

Preheader: This sign-in link expires in {{expiry_minutes}} minutes.

## Variables and sample values

| Variable | Sample value |
| --- | --- |
| app_name | Atlas |
| email_address | alex@example.com |
| expiry_minutes | 15 |
| sign_in_url | https://example.com/sign-in/confirm?token=sample-only |
| support_email | support@example.com |

## Implementation checks

- Match the displayed lifetime to the server’s expiry.
- Avoid consuming the token on a scanner GET request.
- Do not put the token in analytics, referrers or application logs.
- Test expired, reused and wrong-account tokens.

## Plain-text source

```text
Your {{app_name}} sign-in link

This sign-in link expires in {{expiry_minutes}} minutes.

Your way in.

Use this link to continue to {{app_name}} as {{email_address}}. No password to remember.

Account: {{email_address}}
Valid for: {{expiry_minutes}} minutes
Single use: This link can be used once.

Continue to sign in:
{{sign_in_url}}

If you didn’t request this email, don’t open the link. Your existing account settings haven’t changed.

{{app_name}}
Questions? {{support_email}}

```

## Downloads

- [Editable HTML](https://www.stampwing.com/downloads/magic-link.html?v=2026-10-05-collection-7-fourteen)
- [Plain text](https://www.stampwing.com/downloads/magic-link.txt?v=2026-10-05-collection-7-fourteen)

Free to use, modify, and distribute in personal or commercial projects. No attribution required. Supplied as a starting point without warranty.

Testing guide: https://www.stampwing.com/guides/test-transactional-email
