Skip to content

Email Verification Email

Dark, email-safe confirm-your-email template with a big bulletproof verify button, a six-digit one-time code, expiry note and footer.

Live preview

Open in new tab

Code

An email-safe "confirm your email address" template with a dark, modern look, built from HTML tables and inline styles with no framework. It keeps the message short: a wordmark, a headline, one sentence of context, a big full-width verify button, a six-digit one-time code as an alternative, an expiry note and a compact footer.

How it works

The hidden .ev-preheader supplies the inbox preview text, including the code. The .ev-wrap table paints the deep purple background and .ev-container holds the 600px message, wrapped in a fixed-width table inside MSO conditional comments for Outlook desktop. Colors are inline and repeated as bgcolor attributes so the dark design survives clients that drop CSS backgrounds.

The card is split into several table rows that share the same background and side borders, which keeps the rounded top and bottom corners while every section stays a plain table row. The verify button is bulletproof: .ev-btn-cell is a full-width padded cell with the coral background and mso-padding-alt, and .ev-btn is a block-level link with matching padding, so the entire bar is clickable.

The "or enter this code" divider is a three-cell row whose side cells hold 1px colored table cells. The code itself is the .ev-code table: each digit sits in its own .ev-digit cell with fixed width, height, line-height and a monospace font, separated by spacer cells and a dash in the middle for readability. No images or web fonts are used.

style.css adds progressive extras only: a hover color for .ev-btn-cell, a focus ring for .ev-btn, and a mobile media query that trims .ev-pad, shrinks .ev-h1 and makes each .ev-digit smaller so the code fits narrow screens.

Customization

  • Accent color: replace #ff6b8b in .ev-btn-cell and the wordmark dot, and #5eead4 in the eyebrow text and the expiry highlight.
  • Background: change #120d24 on .ev-wrap and #1d1538 on the card rows (all rows of the card must match).
  • Code length: add or remove .ev-digit cells and their spacer cells in .ev-code, and update the digits in the preheader.
  • Digit size: edit width, height, font-size and line-height on .ev-digit, and the mobile values in style.css.
  • Expiry: change "24 hours" in the expiry row to your token lifetime; relative wording never goes stale.

Accessibility

Layout tables use role="presentation", the wrapper declares lang="en", and the heading is a real <h1>. Each digit is plain text, so screen readers read the code in order. The button text is explicit ("Verify my email"), and white and light lavender text on the dark card exceed WCAG AA contrast, as does the dark label on the coral button.

Usage notes

The patterns target Outlook 2016-2021 and Microsoft 365 on Windows, Outlook.com, Gmail (web and apps), Apple Mail and iOS Mail. Some clients recolor dark emails, so test a send first. Copy style.css into a <style> block in the <head> and replace sample-token and the digits with values from your backend.

Requirements

No dependencies. Pure HTML, CSS and JavaScript.

Email Verification Email – Pure CSS email templates component screenshot
Email Verification Email · Pure CSS Email Templates

More Email Templates

Promotional Sale Email with Discount Code – Pure CSS email templates preview

Promotional Sale Email with Discount Code

Email-safe sale template with a big 40% off banner, dashed discount code box, four-product price grid, bulletproof shop button and terms line.

Abandoned Cart Reminder Email – Pure CSS email templates preview

Abandoned Cart Reminder Email

Email-safe abandoned cart reminder with product photos and prices, subtotal, free delivery incentive, checkout button and related products.

Password Reset Email – Pure CSS email templates preview

Password Reset Email

Email-safe password reset template with lock image, VML bulletproof button, expiry note, fallback link, security notice and request details.

Appointment Reminder Email – Pure CSS email templates preview

Appointment Reminder Email

Email-safe appointment reminder with provider photo, details table, clinic address and directions link, reschedule and cancel buttons and preparation tips.

Shipping Confirmation Email with Tracking – Pure CSS email templates preview

Shipping Confirmation Email with Tracking

Email-safe shipping notification with estimated delivery, a table-cell progress bar, carrier and tracking number, shipped items and a track package button.

Product Launch Announcement Email – Pure CSS email templates preview

Product Launch Announcement Email

Email-safe product launch template with a bold dark hero, product photo, three feature blocks with image icons, pricing note and a bulletproof Try it now button.