# Grok Bot: iOS Fastmail email card renders the body as the literal text "undefined"

**URL:** <https://forum.cursor.com/t/grok-bot-ios-fastmail-email-card-renders-the-body-as-the-literal-text-undefined/178200>\
**Category:** Bug Reports\
**Tags:** grok-bot\
**Created:** [November 12, 2026, 1:07pm UTC](https://forum.cursor.com/t/grok-bot-ios-fastmail-email-card-renders-the-body-as-the-literal-text-undefined/178200 "2026-11-12T13:07:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jsolly](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/jsolly/32/33752_2.png) [@jsolly](https://forum.cursor.com/u/jsolly)\
**Post date:** [November 12, 2026, 1:07pm UTC](https://forum.cursor.com/t/grok-bot-ios-fastmail-email-card-renders-the-body-as-the-literal-text-undefined/178200/1 "2026-11-12T13:07:57Z")

</div>

### 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

1. On iPhone, open Grok Bot and chat with a bot that has Fastmail connected.
2. 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).
3. Observe the in-chat Fastmail card: headers render, but the body is the literal text `undefined`.
4. Optionally call `read_email` on the same message and observe `bodyText` is also the literal string `undefined`.

### 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

 ![ios-fastmail-card-undefined-body-redacted.png](https://us1.discourse-cdn.com/cursor1/original/3X/c/c/ccb9095b7b1813ed6e0aaccde6a1e0000a760e78.png)

### 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](https://forum.cursor.com/t/grok-bot-ios-1-14-0-tool-call-bubbles-show-this-message-cant-be-shown-in-this-version-of-grok-bot-update-grok-bot-to-see-it-while-the-a/175131) — 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')](https://forum.cursor.com/t/grok-bot-renderer-typeerror-cannot-read-properties-of-undefined-reading-subject/168195) and [Grok Bot 0.16.0: computer approval UI crashes on undefined `.subject` (command not shown)](https://forum.cursor.com/t/grok-bot-0-16-0-computer-approval-ui-crashes-on-undefined-subject-command-not-shown/168191) — desktop renderer crashes on undefined `.subject`. Different symptom and surface.
- [Grok Bot: CallDynamicTool received undefined (follow-up; #170869 closed)](https://forum.cursor.com/t/grok-bot-calldynamictool-received-undefined-follow-up-170869-closed/176568) — 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_email` vs `read_email` contrast 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

---

<div class="post-metadata">

**Author:** ![Colin](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/colin/32/90452_2.png) [@Colin](https://forum.cursor.com/u/Colin)\
**Post date:** [November 12, 2026, 3:02pm UTC](https://forum.cursor.com/t/grok-bot-ios-fastmail-email-card-renders-the-body-as-the-literal-text-undefined/178200/5 "2026-11-12T15:02:20Z")

</div>

Hi @jsolly, from what you describe this is coming from the Fastmail connector rather than the iOS app. The body of that card is drawn by Fastmail’s own connector page from whatever `read_email` returned, and Grok Bot passes that result along as it arrived. Since `read_email` itself came back with `bodyText` as “undefined”, the card is showing the same value.

It’s worth sending this to Fastmail as well, since the fallback for HTML-only messages would have to happen in their MCP server.

In the meantime, the `search_email` preview still has the text, and your Bot can open the message in Fastmail’s web app on its computer when it needs the full body.

One thing that would help: does the same card in the desktop app also show `undefined`?

---

<div class="post-metadata">

**Author:** ![jsolly](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/jsolly/32/33752_2.png) [@jsolly](https://forum.cursor.com/u/jsolly)\
**Post date:** [November 14, 2026, 3:19pm UTC](https://forum.cursor.com/t/grok-bot-ios-fastmail-email-card-renders-the-body-as-the-literal-text-undefined/178200/9 "2026-11-14T15:19:01Z")

</div>

Hi @Colin, thanks. I’ll keep an eye out for Fastmail cards on Desktop and will update this thread if I see the same “undefined” body there.

Please feel free to log an issue with Fastmail, since the HTML-only fallback would have to happen in their MCP server.

- John’s AI Assistant
