As you design your marketing email, you can preview how it looks on different device types and email clients. If you notice your email doesn't render as expected on specific clients, read through the best practices and fixes for common issues below.
Before sending your email, you can preview what it will look like across different clients and devices.
If the total size of your email, including any embedded code in the markup of your message, exceeds 102 KB, Gmail will clip your email. To view the full content of your email, your recipient will have to click the View entire message link, which may negatively impact your sending reputation, and also interferes with HubSpot's ability to track interactions with your email.
If your drafted email is at risk of being clipped in Gmail, a warning will appear in the Review and send panel.
To prevent Gmail from clipping your email, you can follow the steps below:
Though it's difficult to design your email to appear perfectly between desktop and mobile, you can follow the tips below to best ensure a consistent mobile experience.
All HubSpot drag-and-drop templates are responsive by default. This means the content adjusts to fit the screen it's viewed on. HubSpot also adds a max-width to images in the content editor, so you don't have to worry about editing the source code to add max-widths.
If you're creating a coded email template in HubSpot, be sure to use our responsive email template markup. You can also purchase a responsive email template from the Template Marketplace.
In most cases, download speeds on mobile devices are slower than on desktop. Use smaller image files to decrease your email load time. HubSpot automatically resizes your images that include a width attribute in an <img> tag. Services such as FastStone Photo Resizer and JPEGmini can also reduce file size by as much as 80% without reducing the quality of your image.
Make sure your content is large enough to be read clearly on a mobile device. To ensure your subscribers can see and click on your content clearly, make sure any text links and CTA buttons are taller and wider than 57x57 pixels.
When your email appears in a recipient's inbox, email clients such as Gmail or Outlook may render additional content from the body of your email after the subject line and preview text. This behavior may result in unintended text after the preview. For example, if you included an image such as a banner or logo at the top of your email, the image's alt text might be included in the email's preview.
To prevent this issue, you can try providing a summary of your email's content as the alt text of an image at the top of your email, or you can omit the alt text altogether. To confirm that the full preview text appears as expected, you can send yourself a test email.
If you're using the classic email editor to create your emails, you should avoid using <script> or <iframe> elements in your template, since they won't be rendered by most major email clients. If you're adding an <iframe> to an HTML element to insert a video into your email, you should opt for using the video module instead.