# Magic link email template with a fallback sign-in code

> Customize an illustrative magic-link email with one sign-in action, a six-digit fallback code, exact expiry language, device context, and a recovery route.

Source: https://moosewave.com/templates/magic-link-fallback-code/

---

Magic link email template

# Magic Link + Fallback Code

A focused passwordless sign-in email with a primary magic link, a large six-digit fallback code, precise expiry language, and a clear not-you route.
**Goal**
: Help a customer sign in safely
**Best for**
: Passwordless sign-in · Cross-device login · Account verification
**Includes**
: Recognizable security context · Primary magic-link action
**Subject**
: Your {{product}} sign-in code: {{code}}
**Preheader**
: Tap the button or paste the six-digit code. It expires in ten minutes.

## What is inside this template?

Magic Link + Fallback Code keeps its job, editable inputs, and required context separate. That makes it easier to adapt by hand or through MCP without allowing a cosmetic rewrite to quietly change what the email is for.

### Structure

- Recognizable security context
- Primary magic-link action
- Copyable fallback code
- Expiry, device context, and recovery link

### Editable variables

- Product
- Six-digit code
- Expiry
- Magic-link URL
- Device
- Location
- Not-you URL

### Useful for

- Passwordless sign-in
- Cross-device login
- Account verification
Server-rendered example

## Read the complete starting copy.

**Subject**
: Your {{product}} sign-in code: {{code}}
**Preheader**
: Tap the button or paste the six-digit code. It expires in ten minutes.
**Brand**
: Northstar
**Eyebrow**
: Secure sign-in
**Headline**
: Sign in to Northstar
**Supporting headline**
: Use the button on this device, or enter the code somewhere else.
**Body**
: This request came from Safari on macOS near Bengaluru. The link and code expire in 10 minutes.
**Call to action**
: Sign in securely
**Context note**
: Didn't request this? Secure your account
**Supporting detail 1**
: 428 901
**Supporting detail 2**
: Single use · expires 4:47 PM
**Supporting detail 3**
: Requested only by you

## Connect the template to the rest of the work.

### Use it with Moosewave

- [0 1 Transactional API Send product email with safer retries and a status you can inspect later.](/transactional-email-api/)
- [0 2 Security Keep account events, access limits, and recovery options explicit.](/security/)
- [0 3 Integrations Carry the right product event and customer context into the message.](/integrations/)
- [0 4 MCP for agents See how an agent could adapt presentation without turning an account message into marketing, once MCP opens.](/mcp/)

### More ways to continue

- [Next 1 Negative Welcome Set expectations and earn trust](/templates/negative-welcome/)
- [Next 2 Editorial Masthead Essay Publish one idea with clarity](/templates/editorial-masthead-essay/)
- [Library Browse the full library Return to search, category filters, and the complete public collection.](/templates/)
- [Product tour Follow a complete goal See how creation, review, delivery, and results fit together.](/walkthrough/)

## Questions about Magic Link + Fallback Code.

**What is the Magic Link + Fallback Code template for?**
A focused passwordless sign-in email with a primary magic link, a large six-digit fallback code, precise expiry language, and a clear not-you route. It is best suited to passwordless sign-in, cross-device login, account verification.

**Which fields can I change in Magic Link + Fallback Code?**
The public studio exposes the brand, accent, language, subject, preheader, and every visible message field. Gemini can propose structured copy changes for review. In a workspace, the template also names product, six-digit code, expiry, magic-link url, device, location, not-you url so changes can be reviewed instead of buried in raw HTML.

**Can I get the HTML for Magic Link + Fallback Code?**
Yes. Enter your email on this page and we send the responsive HTML for the original Magic Link + Fallback Code design, free and without an account. Edits you make in the studio stay in your browser tab and are not included. Early-access updates are a separate, optional choice.

**Can Moosewave MCP adapt this template?**
Not yet. Connecting an AI assistant to a Moosewave workspace through MCP opens with early access, and public signup is not open either, so there is nothing to connect today. The studio’s MCP brief is ready to copy now: it names Magic Link + Fallback Code, keeps its structure, and stops at a new draft without sending. Reading or changing a workspace will still require the matching permissions.

**Does the public preview prove inbox or email-client compatibility?**
No. It is an illustrative browser preview for structure and responsive width. A workspace draft is where actual content, rendering checks, required fields, and pre-send review belong; the preview does not claim inbox placement or universal client rendering.

## Choose the next step for Magic Link + Fallback Code.
