Bulletproof email buttons that work in Outlook and Gmail

A bulletproof button is coded HTML, not a picture: a table cell with a background colour and padding, a link inside it, and an optional VML version for classic Outlook. It shows with images off and is easy to tap.

· 5 min read · 844 views · by the Cortex Digital Hub team

Add link, Call or WhatsApp buttons as coded HTML under your creative, with UTM tags added to the link automatically. Free · runs in your browser

Add a real button → → Opens Email Composer · runs in your browser

The most reliable email button HTML is a table cell with a background colour and padding, holding a link styled with the same colour. That "padding-based" button shows with images blocked, scales on phones, and survives classic Outlook, which ignores padding on links. If you need rounded corners in Outlook too, add a VML version inside a conditional comment. Make it at least 44 px tall so thumbs can hit it.

Why image buttons fail

Many campaigns still ship the call to action as part of the creative or as a separate picture of a button. It looks right in the designer's preview, and then:

  • Images are blocked in classic Outlook or a corporate gateway, and the button disappears. The one thing you wanted the reader to do is gone.
  • Screen readers read whatever the alt text says, often "button" or nothing at all.
  • Dark mode can invert the colours around a picture but not the picture, leaving a bright rectangle on a dark page.
  • Tap targets are tied to the image size, which may be small after the email shrinks on a phone.

We covered the image-blocking side in image-only emails and alt text in emails. A coded button solves all four problems at once.

Email button HTML that works in Outlook and Gmail

Here is a padding-based button. The padding sits on the table cell, which Outlook respects; the link inside is also styled, so other clients make the whole area clickable.

<table role="presentation" cellspacing="0" cellpadding="0" border="0" align="center">
  <tr>
    <td bgcolor="#0f766e" style="border-radius:6px;">
      <a href="https://www.example.com/site-visit?utm_source=email"
         style="display:inline-block; padding:14px 28px; font-family:Arial, sans-serif;
                font-size:16px; line-height:20px; color:#ffffff; text-decoration:none;
                font-weight:bold; border-radius:6px;">
        Book a site visit
      </a>
    </td>
  </tr>
</table>

What each part does:

  1. bgcolor on the td gives Outlook a solid colour even when it ignores CSS.
  2. display:inline-block with padding makes the full button clickable in Gmail, Apple Mail and new Outlook.
  3. line-height and font-size together set the height: 20 px text plus 28 px of padding gives a 48 px button.
  4. border-radius rounds the corners where supported; classic Outlook shows them square.

In classic Outlook only the text itself may be clickable, because the Word engine ignores padding on a. Most people click the words anyway, but if the whole area matters, use the border-based variant: replace padding on the link with a thick border in the button colour, for example border:14px solid #0f766e on top and bottom and 28 px on the sides.

Steps to build a bulletproof email button: table cell, styled link, tap size, Outlook test Colour on the cell, padding on the link, 44 px or taller, then test in classic Outlook.

Advertisement

Adding VML for rounded buttons in classic Outlook

If brand rules demand rounded corners everywhere, Outlook's own drawing language, VML, can draw a rounded rectangle. It sits inside a conditional comment so only Outlook on Windows sees it:

<!--[if mso]>
<v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" href="https://www.example.com/site-visit"
  style="height:48px; v-text-anchor:middle; width:220px;" arcsize="12%"
  strokecolor="#0f766e" fillcolor="#0f766e">
  <center style="color:#ffffff; font-family:Arial, sans-serif; font-size:16px; font-weight:bold;">
    Book a site visit
  </center>
</v:roundrect>
<![endif]-->

The normal HTML button follows, wrapped in <!--[if !mso]><!--> and <!--<![endif]--> so Outlook does not show it twice. VML needs a fixed width, so long or translated labels can overflow. For most senders, square corners in Outlook are a fair trade for simpler code. The new Outlook for Windows uses a browser engine and renders the normal button well.

Size, spacing and wording

Property Recommendation Why
Height 44–52 px Apple's minimum tap target is 44 pt
Font size 16–18 px, bold Readable at arm's length
Side padding 24–32 px The label should not touch the edges
Space around 16–24 px above and below Prevents mis-taps on nearby links
Width on phone Full width or near it Easy to hit with a thumb
Contrast 4.5:1 or better Readable in sunlight and for low vision

Wording matters as much as code. "Book a site visit", "See floor plans" or "Get the price sheet" tells the reader what happens next; "Click here" and "Submit" do not. A lead who filled a form five minutes ago should see one obvious next step.

Comparison of image buttons, padding-based HTML buttons and VML buttons across email clients The padding-based button covers most needs; VML only adds rounded corners in classic Outlook.

Call and WhatsApp buttons

For Indian audiences, a Call or WhatsApp button often converts better than a web link, especially for older buyers.

  • Call: href="tel:+919800000000". It opens the dialler on phones. On a desktop it may do nothing or open a calling app, so keep the number visible as text too.
  • WhatsApp: href="https://wa.me/919800000000?text=Hi%2C%20I%20saw%20your%20email". It opens a chat with a pre-filled message. Use a WhatsApp Business number your team actually answers.

Put the main web action first and Call or WhatsApp beside or below it in a quieter style, such as an outline button. Tag web links with UTM parameters so you can see which button drove the visit. If you need a refresher on how a sound campaign fits together, see our real estate email marketing guide, and keep the layout within a safe email template width.

Dark mode and link hygiene

Coded buttons cope with dark mode better than pictures, but some apps still shift your colours. A mid-tone button colour, such as a teal or deep orange, with white bold text usually stays readable whether the background goes dark or not. Avoid pure white buttons with dark text; inverted, they can turn into a dark block that blends into the page.

The link behind the button deserves the same care as its look. Point it at your own domain, not a URL shortener, and keep the visible label honest about the destination. Click tracking from your sending provider will rewrite the link, which is normal, but a mismatch between a branded label and an unknown shortened domain is one of the small content signals covered in why emails go to spam.

Advertisement

Button checklist

  • Build the main call to action as a coded table button, never only as an image.
  • Set bgcolor on the cell and padding on the link; aim for 44–52 px tall.
  • Use one clear verb-first label and one main action per email.
  • Add Call or WhatsApp as a secondary button with the number also in text.
  • Test in classic Outlook, Gmail on Android and Apple Mail, with images on and off.

The Email Composer adds link, Call and WhatsApp buttons as real HTML under your creative and tags web links with UTM parameters, so you can skip the hand-coding and still get a button that works everywhere.

Frequently asked questions

What is a bulletproof button in email?

It is a call-to-action button built from HTML and CSS rather than an image, so it displays and works even when images are blocked. The usual build is a table cell with a background colour and padding, containing a styled link.

Why does my email button look wrong in Outlook?

Classic Outlook for Windows uses the Word engine, which ignores padding on links, rounded corners and many CSS properties. Put padding on the table cell, not the link, or use a VML version inside an Outlook conditional comment.

Should I use an image for my email button?

Avoid it for the main call to action. Image buttons vanish when pictures are blocked, are not read well by screen readers and cannot be styled for dark mode. Keep images for photos and use coded buttons for actions.

How big should an email button be?

At least 44 px tall, which matches Apple's minimum touch target, and wide enough for the label plus generous side padding. On phones, a full-width button with 14–16 px vertical padding is easiest to tap.

Can I make a WhatsApp or Call button in an email?

Yes. A Call button links to tel:+91XXXXXXXXXX and a WhatsApp button links to https://wa.me/91XXXXXXXXXX with an optional pre-filled message. Both open the right app on most phones; on desktop, tel: links depend on the setup.

Do rounded corners work in email buttons?

In most modern clients, yes, through border-radius. Classic Outlook for Windows shows square corners unless you use a VML roundrect. Square corners in Outlook are usually acceptable.

How many buttons should one email have?

One main action, repeated at most once lower down for long emails. A secondary action, such as Call or WhatsApp next to Book a visit, is fine if it is clearly less prominent.

Add a real button → →

Advertisement

More from the blog