---
title: Account Security Alert Email Template | SendHQ
description: A calm, factual security notification with event context, separate expected and unexpected paths, and no credential collection.
canonical: https://sendhq.cc/templates/security-alert
last-updated: 2026-08-24
---
# Account Security Alert Email Template

A calm, factual security notification with event context, separate expected and unexpected paths, and no credential collection.

## Production-oriented source

```html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <meta name="color-scheme" content="light">
  <meta name="supported-color-schemes" content="light">
  <title>Security alert for your {{company_name}} account</title>
  <style>
    body, table, td, a { -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
    table, td { mso-table-lspace: 0pt; mso-table-rspace: 0pt; }
    table { border-collapse: collapse !important; }
    img { border: 0; height: auto; line-height: 100%; outline: none; text-decoration: none; }
    @media screen and (max-width: 620px) {
      .email-shell { width: 100% !important; }
      .email-pad { padding: 28px 20px !important; }
    }
  </style>
</head>
<body style="margin:0;padding:0;background:#f6f6f7;font-family:Arial,'Helvetica Neue',sans-serif;color:#1d1d1f;">
  <div style="display:none;max-height:0;overflow:hidden;opacity:0;color:transparent;mso-hide:all;">{{preheader}}&#847; &zwnj; &nbsp; &#8199; &#65279;</div>
  <table role="presentation" width="100%" cellpadding="0" cellspacing="0" bgcolor="#f6f6f7">
    <tr>
      <td align="center" style="padding:32px 12px;">
        <table role="presentation" class="email-shell" width="600" cellpadding="0" cellspacing="0" style="width:600px;max-width:600px;background:#ffffff;border:1px solid #e6e6e8;border-radius:18px;">
          <tr><td style="padding:24px 36px 10px;font-size:20px;font-weight:700;letter-spacing:-0.3px;">{{company_name}}</td></tr>
          <tr><td class="email-pad" style="padding:24px 36px 36px;font-size:16px;line-height:1.6;"><h1 style="margin:0 0 16px;font-size:28px;line-height:1.2;color:#1d1d1f;">Security alert</h1><p style="margin:0 0 16px;color:#4b4b52;">Hi {{recipient_name}},</p><p style="margin:0 0 20px;color:#4b4b52;">We recorded a security event on your {{company_name}} account.</p><table role="presentation" width="100%" cellpadding="0" cellspacing="0" style="background:#f6f6f7;border-radius:12px;margin-bottom:24px;"><tr><td style="padding:18px;"><strong style="display:block;color:#1d1d1f;margin-bottom:8px;">{{event_name}}</strong><span style="display:block;color:#4b4b52;font-size:14px;">{{event_time}}</span><span style="display:block;color:#4b4b52;font-size:14px;">{{event_device}}</span><span style="display:block;color:#4b4b52;font-size:14px;">{{event_location}}</span></td></tr></table><p style="margin:0 0 24px;color:#4b4b52;"><strong>If this was you:</strong> no action is required.<br><strong>If this was not you:</strong> review your active sessions and secure your account now.</p><table role="presentation" cellpadding="0" cellspacing="0" style="margin:0;"><tr><td bgcolor="#ff5a5f" style="border-radius:10px;"><a href="{{review_url}}" style="display:inline-block;padding:13px 20px;border:1px solid #ff5a5f;border-radius:10px;color:#1d1d1f;font-weight:700;text-decoration:none;">Review account security</a></td></tr></table><p style="margin:24px 0 0;color:#6f6f76;font-size:14px;">For help, contact <a href="mailto:{{support_email}}" style="color:#c92f3a;">{{support_email}}</a>. We will never ask you to send your password or one-time code by email.</p></td></tr>
          <tr><td style="padding:22px 36px;border-top:1px solid #e6e6e8;color:#6f6f76;font-size:12px;line-height:1.6;">Sent by {{company_name}}<br>{{company_address}}<br><a href="mailto:{{support_email}}" style="color:#6f6f76;text-decoration:underline;">{{support_email}}</a></td></tr>
        </table>
      </td>
    </tr>
  </table>
</body>
</html>
```

## Variables

**`{{company_name}}`**

Product or company name

**`{{recipient_name}}`**

Recipient display name

**`{{event_name}}`**

Plain-language security event

**`{{event_time}}`**

Unambiguous time and timezone

**`{{event_device}}`**

Non-sensitive device context

**`{{event_location}}`**

Clearly labeled approximate location

**`{{review_url}}`**

Authenticated first-party security page

**`{{support_email}}`**

Security contact

**`{{company_address}}`**

Company mailing address

## Implementation notes

- Link only to your first-party HTTPS origin and never ask for a password by email.
- Describe location as approximate when inferred from an IP address.
- Make the account-security page require normal authentication before sensitive changes.

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.

## More transactional templates

- [Email Verification Template](https://sendhq.cc/templates/email-verification.md): An accessible verification email with a clear action, visible fallback URL, expiration context, and safe ignore-state copy.
- [Password Reset Email Template](https://sendhq.cc/templates/password-reset.md): A focused password-reset email with a single-use action, expiration notice, fallback link, and security guidance.
- [Magic Link Sign-In Email Template](https://sendhq.cc/templates/magic-link.md): A concise passwordless sign-in email that explains device context, expiration, and what to do with an unexpected request.
