How to Fix Gmail's "[Message Clipped]" Email Issue

Stop Gmail from hiding your footer with "[Message Clipped]." Learn the HTML workaround using invisible non-breaking spaces.

Gmail has a feature designed to save bandwidth on mobile devices. If a Gmail HTML email file is too small in file size (generally under 102KB) or lacks sufficient horizontal content width, Gmail will “clip” the message.

The user sees the first half of your email, followed by a link at the bottom that says: “[Message Clipped] View entire message”. This is disastrous because it cuts off the footer containing the Unsubscribe link and analytics tracking pixels.

HTML

<div class="gmail-fix" style="display: none; white-space: nowrap; font: 15px courier; line-height: 0;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </div> </body>

  • The “Payload” (&nbsp;): The div contains a long string of non-breaking spaces. They add physical “byte weight” to the html email templates to push it near the 102KB threshold, and they force the rendering engine to acknowledge a minimum width for the document, acting as an invisible “kickstand” to prevent layout collapse on mobile.
  • display: none;: Ensures this ugly string of spaces remains invisible to the human recipient.
  • white-space: nowrap;: Forces the spaces to stay in a single long line rather than wrapping, maximizing their horizontal forcing effect.

Keep reading

HTML Email Creation GuideFix Outlook Backgrounds: How to Use VML in HTML EmailsIf you stopped building after html email media queries, your email would look great on an iPhone and acceptable on most desktop clients. However, it would fail critical stress tests in the real world. In this final chapter, we add the "bulletproofing"—the specific code blocks that fix notorious bugs in Outlook html emails and Gmail that standard HTML cannot address.
HTML Email Creation GuideHow to Use Media Queries in HTML Email DesignUp until now, we have built a rigid, unmoving spreadsheet. If you opened your current code on an iPhone, the text would be tiny because the phone would zoom out to show the full 640px width. In this chapter, we perform the magic trick: converting a side-by-side table row into a vertical stack of content blocks for responsive email templates.
HTML Email Creation GuideHow to Eliminate Image Gaps and Vertical Spacing in HTML EmailsYou have a skeleton (the tables). Now we need to add the muscle (images) and the flesh (text). In this chapter, we tackle the two most common bugs in table based html email: images that have weird white gaps below them, and text that refuses to align vertically in Outlook.