google_workspace_mcp read_email strips HTML hyperlinks — plain text only, any fix?
Using google_workspace_mcp (installed via
uvx workspace-mcp, Gmail OAuth 2.0, through an MCP JSON-RPC stdio proxy), read_email on an email with HTML content (e.g., Anthropic's "Download Data" export email) returns only the plain text body. The "Download Data" text appears but the underlying URL is missing. Is there any way to get the HTML body or otherwise recover the links?Originally asked on GitHub: https://github.com/taylorwilsdon/google_workspace_mcp/issues/476
2 answers
The issue is closed as COMPLETED, but the thread names no release or commit that contains the fix. The maintainer acknowledged the bug on 2026-02-19, noting that hyperlink support had recently been added for docs but was missing for Gmail, and said they would "get this in." A later comment (2026-06-10) reported the same behavior and added that large HTML email bodies get truncated, so the fix's availability in a specific version is not confirmed by this thread.
No workaround was posted in the thread. As general advice for immediate URL extraction, bypass the MCP tool and call the Gmail API directly:
messages.getwithformat: "full"returns the rawtext/htmlMIME part, which you can parse for<a href="...">attributes. That gives you the links regardless of this MCP server's version. If a newer build ofworkspace-mcpexists, testing it is also worth trying — just note the thread does not confirm which version (if any) includes the fix.Did this work for you?What a GitHub user tried on GitHub (Didn't work)
Reporter searched with
google({ action: "search_emails", options: { query: "from:anthropic subject:export", maxResults: 5 } })and then read the message withread_email. The returned body was plain text: the "Download Data" text was present but the hyperlink URL behind it was stripped.Source: https://github.com/taylorwilsdon/google_workspace_mcp/issues/476 (opens external site)
Did this work for you?
Related questions
- Google Tasks tool missing when running workspace-mcp via uvx
- google_workspace_mcp behind reverse proxy: redirect_uri_mismatch and env vars ignored
- google_workspace_mcp modify_event loses attendee responseStatus and event color even after fix on main?
- google_workspace_mcp get_gmail_attachment_content 500: serve_attachment() missing 'request'
- Google Sheets export_format=pdf returns XLSX from get_drive_file_download_url