HTML & MJML

Account Security Notice Email Template

Alert users to account activity fast and clearly with this account security notice email template. A high-contrast red security band draws immediate attention, a details card lists the device, location, and time of the sign-in, and a prominent secure-my-account button gives worried users an instant path to act. Use this email template for new-sign-in alerts, suspicious activity notices, and password-change confirmations. Security and trust teams get a reassuring yet urgent design that protects users, encourages two-factor authentication, and reinforces that you take account safety seriously.
Edit In EmailBuilder.ai
Share:
Account Security Notice Email Template - email template preview
Show full preview ▼

About the Account Security Notice Email Template

Security and trust teams need a template that converts panic into action the moment a user sees an unfamiliar sign-in. This account security notice email template pairs a bold red alert band with a structured details card showing device, location, and timestamp, giving users the context they need to judge whether activity is legitimate. The result is a transactional email that feels authoritative, moves fast, and channels user concern directly into a single protective action.

When to use this template

Send immediately and automatically the moment a triggering security event occurs, including new device sign-ins, logins from unrecognized locations, failed password attempts, or successful password changes. Delays of even a few minutes erode trust and leave accounts exposed, so this template should live inside a real-time authentication or fraud-detection pipeline.
  • A fintech app alerting a user to a sign-in from a new country they never visit
  • A SaaS platform notifying admins when a team member account logs in after 90 days of inactivity
  • An e-commerce brand confirming a password reset was just completed successfully
  • A healthcare portal warning patients of login attempts from an unrecognized browser or device
  • A gaming platform flagging a simultaneous session detected on two different continents
  • A subscription service prompting two-factor authentication enrollment after a suspicious sign-in pattern

Subject line ideas

  • New sign-in to your account — was this you?
  • Security alert: unrecognized device just signed in
  • Your account was accessed from a new location
  • Action needed: secure your account now

Best practices for notice emails

  • Lead the details card with device type and city before timestamp so users recognize threats at a glance without parsing dates first.
  • Use the red security band exclusively for genuine alerts, never promotions, so the color retains its trained urgency over time.
  • Write the secure-my-account button in first-person phrasing such as Secure My Account rather than a generic Submit or Click Here.
  • Include a clear this was me dismissal link alongside the primary CTA so confident users can resolve the alert without contacting support.
  • State the exact inactivity or revocation window in the email body, for example your session will be locked in 24 hours, to create precise and honest urgency.

Template anatomy

How the Account Security Notice Email Template template is laid out, top to bottom:
  1. section (1 column) containing image.
  2. section (1 column) containing text block.
  3. section (1 column) containing text block.
  4. section (1 column) containing text block.
  5. section (1 column) containing button.
  6. section (1 column) containing text block.
  7. section (1 column) containing text block.
  8. section (1 column) containing divider.
  9. section (1 column) containing text block.

Components used

Built from the following MJML elements:
13 text blocks1 image1 button1 divider

Color palette

Colors used across the Account Security Notice Email Template template:
#3f3f46
#fafafa
#ffffff
#7f1d1d
#fecaca
#18181b
#52525b
#71717a
#b91c1c
#f4f4f5
#a1a1aa

Typography

Font stacks declared in the template:
  • Helvetica, Arial, sans-serif

MJML source code

A preview of the MJML markup for the Account Security Notice Email Template template. Open it free in EmailBuilder.ai to get the complete source and start customizing.
<mjml>
  <mj-head>
    <mj-title>Account Security Notice Email Template</mj-title>
    <mj-preview>A new sign-in to your account — please confirm it was you.</mj-preview>
    <mj-attributes>
      <mj-all font-family="Helvetica, Arial, sans-serif"></mj-all>
      <mj-text font-size="15px" line-height="24px" color="#3F3F46"></mj-text>
    </mj-attributes>
  </mj-head>
  <mj-body background-color="#FAFAFA" width="600px">
    <mj-section background-color="#FFFFFF" padding="24px 40px 18px 40px">
      <mj-column>
        <mj-image src="[[branding.logoURL]]" alt="[[branding.businessInfo.companyName]] logo" width="150px" align="left" padding="0"></mj-image>
      </mj-column>
    </mj-section>
    <mj-section background-color="#7F1D1D" padding="14px 40px">
      <mj-column>
        <mj-text color="#FECACA" font-size="12px" letter-spacing="2px" padding="0"><strong>⚠ SECURITY NOTICE</strong></mj-text>
      </mj-column>
    </mj-section>
    <mj-section background-color="#FFFFFF" padding="32px 40px 0 40px">
      <mj-column>
        <mj-text color="#18181B" font-size="26px" font-weight="700" line-height="34px" padding="0 0 14px 0">New sign-in to your account</mj-text>
        <mj-text color="#52525B" font-size="15px" line-height="25px" padding="0">We noticed a new sign-in to your account. If this was you, no action is needed. If you don't recognize it, please secure your account right away.</mj-text>
      </mj-column>
    </mj-section>
    <mj-section background-color="#FFFFFF" padding="24px 40px 0 40px">
      <mj-column background-color="#FAFAFA" border="1px solid #E4E4E7" border-radius="10px" padding="20px 22px">
        <mj-text color="#71717A" font-size="13px" padding="0 0 6px 0">Device&#160;&#160;&#160;<span style="color:#18181B;font-weight:600;">Chrome on macOS</span></mj-text>
        <mj-text color="#71717A" font-size="13px" padding="0 0 6px 0">Location&#160;&#160;&#160;<span style="color:#18181B;font-weight:600;">Berlin, Germany</span></mj-text>
        <mj-text color="#71717A" font-size="13px" padding="0">Time&#160;&#160;&#160;<span style="color:#18181B;font-weight:600;">9 July 2026, 14:22 UTC</span></mj-text>
      </mj-column>
    </mj-section>
Want the full MJML?Open Account Security Notice Email Template free in the editor to copy the complete, production-ready source — and customize it with drag-and-drop.Get the full MJML — it's free

Browse more templates

Notice Email TemplatesSecurity / Phishing Email TemplatesAccount Email TemplatesTransactional Email TemplatesAll Email Templates

Related notice email templates