AI agents and email

How AI agents read marketing email

In October 2026 we put discount offers in 35 different parts of marketing emails and asked four AI agents, each connected to the same Gmail inbox, to find them. Grok found 32, Claude 28, Muse 14 and ChatGPT 10. All four found the offer in only 4 of the 35 places.

Based on the Magical Casa agent email tests: 35 offer placements and 2 controls, read through Gmail, recorded October 7, 2026. Page updated .

Who is reading your email now?

Three kinds of reader now handle a marketing email: the subscriber, the AI built into their mailbox, and any AI agent they have connected to it.

Inbox assistants

AI built into the mailbox, such as Gemini in Gmail. It summarises threads, answers questions about the inbox and decides what to surface. The subscriber does not set anything up.

How Gemini reads email in Gmail

Connected agents

Separate assistants a person connects to their mailbox: Grok, Claude, Muse, ChatGPT. Asked "what offers do I have?", the agent searches the inbox and answers from what it can read.

See what each one found

A subscriber who asks an agent gets the agent's answer and may never open the email. An offer the agent did not read is left out of that answer.

Which AI agent reads the most of an email?

We sent 37 realistic retail emails to one Gmail account. Each of 35 hid a unique discount offer in a different part of the email; two were controls with no offer to find. We then asked four AI agents connected to that inbox to find each offer. The count below is how many of the 35 offers each agent found on its first answer, with the exact code and terms.

What do all agents read, and what do none read?

  • All four agents found the offer in only 4 of the 35 placements: visible offer, subject line, off screen, zero-size text.
  • No agent read a custom email header. An offer has to be in the subject, the body, or a page the body links to.
  • Three of four agents read text hidden with display:none, which a person never sees. We estimate a person would likely see the offer in 8 of the 35 placements.
  • Two of four agents missed an offer printed in a banner image, which a person sees as soon as the image loads.
  • ChatGPT recovered none of the linked offers, and Muse would not follow a redirect.
  • When Muse missed an offer, it usually told the user the email had no discount.

Where in an email can each agent find an offer?

Every placement we tested, by agent. "People" is our estimate of whether a typical reader, with images on, would see the offer.

Magical Casa agent email tests, recorded October 7, 2026: which offer placements each agent found.
Where the offer wasGrokClaudeMuseChatGPTPeople
Visible copy and email versions
Visible offerComplete offer in the normal HTML and the plain-text body.FoundFoundFoundFoundLikely
HTML onlyOffer is in the formatted email but left out of the plain-text version.MissedFoundFoundFoundLikely
Plain text onlyOffer is in the plain-text version; the formatted email omits it.FoundFoundMissedPartlyUnlikely
Subject lineComplete offer appears only in the subject.FoundFoundFoundFoundLikely
HTML and text conflictHTML and plain text give different codes for the same deal. Correct means finding both.FoundFoundPartlyPartlyPartly
Long emailVisible offer sits after more than 110 KB of HTML.FoundAccess limitFoundFoundDepends
Hidden text
HTML commentOffer is inside a source comment that never displays.MissedFoundMissedMissedUnlikely
display:noneOffer text is in the HTML but set not to display.FoundFoundFoundMissedUnlikely
visibility:hiddenOffer text takes up space but is invisible.FoundFoundFoundMissedUnlikely
hidden attributeOffer is inside an element marked hidden.FoundFoundFoundMissedUnlikely
Off screenOffer text is positioned far outside the visible message.FoundFoundFoundFoundUnlikely
Zero-size textOffer text is collapsed with zero-size styling.FoundFoundFoundFoundUnlikely
PreheaderOffer is in the hidden preview-text block at the top.FoundFoundFoundMissedDepends
Labels and metadata
Custom email headerOffer sits in an extra email header, outside the subject and body.MissedMissedMissedMissedUnlikely
Image alt textOffer is in the image description, not the pixels.FoundFoundFoundMissedDepends
Link tooltipOffer is in the title attribute of a visible link.FoundFoundMissedMissedDepends
Accessibility labelOffer is in an aria-label on a visible block.FoundFoundMissedMissedDepends
Custom data attributeOffer is in a data- attribute on a visible element.FoundFoundMissedMissedUnlikely
Nonstandard attributeOffer is in a made-up HTML attribute.FoundFoundMissedMissedUnlikely
Page meta descriptionOffer is in the HTML document's description metadata.FoundFoundMissedMissedUnlikely
JSON-LDOffer is in a structured-data block in the HTML head.FoundFoundMissedMissedUnlikely
MicrodataOffer is in structured metadata inside the HTML body.FoundFoundMissedMissedUnlikely
Text inside images
Remote bannerOffer is printed in a remotely hosted image; the alt text is neutral.FoundFoundMissedMissedLikely
Inline imageOffer is printed in an image embedded in the message itself.FoundMissedMissedMissedLikely
Background imageOffer is printed in a CSS background image.FoundFoundMissedMissedDepends
Image and alt text conflictThe pixels say 19% and the alt text says 27%, with different codes. Correct means finding both.FoundFoundPartlyMissedPartly
Attachments
Text attachmentOffer appears only in an attached .txt file the body points to.FoundAccess limitMissedFoundLikely
JSON attachmentOffer appears only in an attached .json file.FoundAccess limitMissedFoundDepends
Image attachmentOffer is printed in an attached PNG.FoundAccess limitMissedFoundLikely
Links and linked pages
URL parametersOffer is in the link's URL; the linked page has no offer.FoundFoundMissedFoundUnlikely
Linked JSONA visible link opens a JSON file holding the terms.FoundFoundFoundMissedDepends
Linked web pageA visible link opens a readable HTML offer page.FoundFoundFoundMissedLikely
Two-step linkThe link opens a page with a second link to the offer details.FoundFoundFoundMissedDepends
Hidden URLThe offer URL is in a data attribute, not a clickable link.FoundMissedMissedMissedUnlikely
RedirectA visible offer link redirects to a JSON offer.FoundFoundMissedMissedDepends
Controls: no offer to find
Unavailable offerThe offer link returns "unavailable". Correct means saying so without inventing terms.PassPassIncompleteIncompleteLikely
No member offerNo discount exists. Correct means reporting only the shipping perk.PassPassPassPassLikely

How do I write email that AI agents can read?

  1. 1

    Put the whole offer in live text

    Amount, code, minimum spend and expiry, as HTML text in the body. Along with the subject line, it is the only placement that every agent found and a person would see.

  2. 2

    Mirror it in the plain-text version

    One agent read only the HTML and another leaned on the plain text. A complete, matching plain-text part covers both.

  3. 3

    Repeat it in the subject line

    All four agents read an offer that appeared only in the subject.

  4. 4

    Never ship an image-only offer

    Two of four agents could not read a banner image. Write alt text that carries the same terms as the pixels.

  5. 5

    Clean up hidden text

    Three of four agents read display:none text. Old codes and test copy left in hidden blocks can reach a subscriber through their agent.

  6. 6

    Link straight to a readable page

    Agents that follow links coped with a plain HTML page. Redirects and data files stopped some of them.

  7. 7

    Stay under Gmail's 102 KB clip

    One agent did not reach an offer placed after 110 KB of HTML, and a person has to click "View entire message" to see it.

  8. 8

    Add Gmail deal annotations

    Structured data in the head lets Gmail show a deal badge with your code and expiry. Treat it as an extra, not the only copy of the offer.

Questions and answers

How do AI agents read marketing emails?

An agent reads email through a connection to the mailbox and does not see the rendered email a person sees. Depending on the agent, it gets the plain-text version, the raw HTML or both, and sometimes images, attachments and linked pages. In our test the four agents read different parts of the same emails.

Which AI agent reads the most of an email?

In our October 2026 test, Grok found 32 of 35 offers (91%), Claude 28 (80%), Muse 14 (40%) and ChatGPT 10 (29%). These are results from one study with each agent's own tools, not a like-for-like benchmark.

Do AI agents read hidden text in emails?

Often, yes. Three of the four agents read text hidden with display:none, and all four read off-screen and zero-size text. A person would see none of it.

Can AI agents read text inside images?

Some can. Grok and Claude recovered an offer printed in a remote banner image; Muse and ChatGPT did not. Only Grok read an image embedded in the message itself.

Do AI agents follow links in emails?

Some do. Grok, Claude and Muse recovered an offer from a linked web page; ChatGPT did not recover any linked offer. Muse would not follow a redirect.

Do AI agents read the plain-text version of an email?

It varies. Grok and Claude found an offer that appeared only in the plain-text version, ChatGPT found part of it, and Muse missed it. Grok's first read missed an offer that was only in the HTML.

How is Gemini in Gmail different from an agent like ChatGPT?

Gemini is built into the mailbox. It summarises threads, answers questions about the inbox and, in AI Inbox, briefs the user on what matters, without the user connecting anything. Agents such as ChatGPT, Claude, Grok and Muse are separate assistants that a user connects to Gmail.

How should I write emails so AI agents can read them?

Put the complete offer in live HTML text, mirror it in the plain-text version and the subject line, give images alt text that carries the same terms, and keep hidden text consistent with what people see.

How we tested, and what this does not show

We sent the emails from a test retail brand to one Gmail account, then asked each agent about each email in turn and compared its answer with the offer we had placed. A result counts as found only when the code and all terms matched.

  • One study, one Gmail account, one answer per agent per email. Agents and their connectors change often.
  • Each agent used its own tools, including browser help in some cases, so this is not a like-for-like benchmark.
  • A miss shows the offer did not reach the answer. It does not prove the agent can never read that part of an email.
  • How each agent read an email is its own account. We did not verify tool traces independently.
  • "People" is a reasoned estimate for a typical reader with images on, not a tested group.
  • Finding a code does not show that it works at checkout.

Related pages

See it on your own email

See what agents can read in your own emails.

We map every offer in your sends to the places agents and people can reach. One subscriber address to start.