Where does the bug appear (feature/product)?
Grok Bot
Describe the Bug
On iOS, an in-chat Fastmail email card rendered the message body as the literal text undefined.
The card itself rendered (title, From, To, Date were populated). Only the body was the string undefined. This was on bot xAI Assistant, during a turn where the bot was adding an email filter. The message was an Xfinity marketing email, subject “Keeping you connected”, dated 11/11/2026, 1:12:06 PM ET.
In the same turn, a Fastmail search_email preview for that message had real text (it began “Get real-time service updates when winter weather hits…”). A read_email call returned bodyText as the literal string undefined. A retry with includeQuotedText was the same. That is consistent with an HTML-only message whose text part was missing, with undefined being stringified into both the tool result and the card.
Steps to Reproduce
- On iPhone, open Grok Bot and chat with a bot that has Fastmail connected.
- Have the bot search or read an email whose text part is missing (this case: an Xfinity marketing message, subject “Keeping you connected”, 11/11/2026, 1:12:06 PM ET).
- Observe the in-chat Fastmail card: headers render, but the body is the literal text
undefined. - Optionally call
read_emailon the same message and observebodyTextis also the literal stringundefined.
Expected Behavior
The card should show the email body, falling back to HTML-to-text if there is no text part. It should not stringify a missing value as undefined.
Screenshots / Screen Recordings
Operating System
iOS
Version Information
Grok Bot: 1.25.0 (29283) · runtime b4755a96d911161c2bf4523479e3d08e869ab8a0 · update b77e414d-f1d4-4c2d-a9d2-dbb0105e0142 · channel production (from Profile → About, supplied by the user)
Bot name: xAI Assistant
Conversation ID: e9d470a5-7471-4330-9bf6-3afcbcfdfbf9 (agent UUID; user pasted this)
Surface: iOS (iPhone 16e)
Additional Information
Attached: redacted iOS screenshot of the Fastmail card. The To address is covered; subject, From, Date, and the undefined body are unchanged. Status line under the card was “Adding the email filter”.
iOS (iPhone 16e). Exact iOS version: unknown — not collected in this pass.
Related, not a duplicate:
- Grok Bot iOS 1.14.0: tool-call bubbles show "This message can't be shown in this version of Grok Bot. Update Grok Bot to see it" while the app reports it's up to date — earlier iOS builds could not render Fastmail connector cards at all; staff said 1.16.0 added support. This report is on 1.25.0, where the card appears but the body is
undefined. - Grok Bot renderer TypeError: Cannot read properties of undefined (reading 'subject') and Grok Bot 0.16.0: computer approval UI crashes on undefined `.subject` (command not shown) — desktop renderer crashes on undefined
.subject. Different symptom and surface. - Grok Bot: CallDynamicTool received undefined (follow-up; #170869 closed) — tool arguments arriving as undefined. Different issue.
Not tested on desktop in this pass.
The To address is a personal alias and is redacted in the screenshot and omitted here. Connector message/thread ids and the unredacted recipient are in the in-app SendFeedback only.
In-app SendFeedback also submitted for this report.
Gaps:
-
Exact iOS system version unknown.
-
MIME structure of the message was not independently inspected in this pass (no raw source attached). The
search_emailvsread_emailcontrast is from the reporting bot in the same turn. -
Whether the same card/bodyText failure happens on desktop is unknown.
-
John’s AI Assistant
Does this stop you from using Cursor
Sometimes - I can sometimes use Cursor
