Flo

Does AI-generated email HTML work in Klaviyo, Gmail and Outlook?

By the Flo team · Updated

Short answer

Sometimes. Email HTML is much stricter than web HTML, and code written by a general AI chat often breaks in Outlook, on mobile or in dark mode. Designs hold up best when the tool renders and tests the email itself and exports a Klaviyo template built for inboxes, such as linked image slices with a live text footer. Always send a test to real inboxes before scheduling.

Why email HTML is hard

Inboxes do not render like browsers. Outlook on Windows uses an old Word based engine, Gmail strips some styles, and mobile apps rescale layouts. Modern web layout tricks that AI models use by default, like flexbox and grid, often fall apart in email.

Common breakages in AI-written HTML

  • Columns that collapse or overlap in Outlook.
  • Web fonts that fall back to a default font.
  • Background images that disappear.
  • Dark mode turning text unreadable.
  • Messages over 102KB, which Gmail clips with a "view entire message" link.

Formats that hold up

FormatStrengthTrade off
Table based, hand tuned HTMLLive text everywhereSlow to build and test
Linked image slices plus live footerExact design in every inboxText in images needs good alt text
Mixed: images for design, live text for long copyBalance of bothMore work to build

How to test

  1. Preview desktop and mobile in Klaviyo.
  2. Send tests to Gmail, Apple Mail and Outlook.
  3. Check with images turned off: does the email still make sense?
  4. Check dark mode on a phone.
  5. Click every link.

What to look for in an AI email tool

The tool should render the email itself and check the result, not just hand you code. It should export straight to a Klaviyo template so nobody copies and pastes HTML, and it should keep the unsubscribe link and the organisation address as live text, which Klaviyo requires.

Alt text is part of the design

When an email uses images for text, the alt text is what readers see with images off and what screen readers read out. It should carry the same message as the image, including the offer and code. Check it in Klaviyo before scheduling.

How Flo exports

Flo renders every email and checks the desktop and mobile versions before you see it. Approved emails go to the client's Klaviyo as templates through the API, or as a zip download if Klaviyo is not connected. Today Flo exports campaign designs mostly as linked image slices, with the footer's legal address and unsubscribe as live text; plain text style emails go out as live HTML. Related: is it safe to connect AI tools to Klaviyo?

Questions agencies also ask

Can I paste ChatGPT's email HTML into Klaviyo?
You can, but test it in Outlook, Gmail and on mobile first. General chat models often use layout code that inboxes do not support.
Are image based emails bad for deliverability?
Not by themselves; sender reputation and engagement matter more. Keep a live text footer, good alt text and a reasonable file size.
Does Klaviyo require live text in emails?
Klaviyo requires an unsubscribe link and the organisation's address in marketing emails. Keep both as live text.