Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
Agent search_threads does not return some inbox threads that are clearly visible in Web Gmail for the same account and query.
For those same thread or message IDs (taken from the Web Gmail URL), get_thread returns “The caller does not have permission”, but get_message returns subject, body, and attachment metadata successfully.
This is selective: other messages from the same automated sender, with the same labels, are returned by search_threads and readable via get_thread.
Plugin path: Cursor Gmail plugin to Google hosted Gmail MCP.
Steps to Reproduce
- Connect the Cursor Gmail plugin (OAuth OK; other mail searches work).
- In Web Gmail, pick an automated sender that has both:
- at least one message that MCP search finds, and
- at least one other message from the same sender that Web Gmail shows but MCP search omits
Labels on the omitted messages in my case: INBOX, IMPORTANT, CATEGORY_UPDATES.
- Call search_threads with a from-query for that sender.
- Open an omitted message in Web Gmail, copy its message or thread id from the URL.
- Call get_thread with that id → permission denied.
- Call get_message with the same id → content OK.
- Repeat steps 4–6 on a control message from the same sender that did appear in search_threads → both tools work.
I can share redacted ids privately with Cursor staff if needed.
Expected Behavior
search_threads should match Web Gmail for the same query. get_thread should succeed for ids that get_message can read.
Actual: search_threads omits some matching threads. get_thread → permission denied. get_message → OK. Web Gmail lists the missing threads.
Operating System
Windows 10/11
Version Information
Cursor 3.27.22
Gmail plugin → Google hosted Gmail MCP
Additional Information
Observed 2026-10-29. Re-auth is unlikely: neighboring mail from the same sender already works on the same MCP connection. Looks like inconsistent filtering or ACL between search_threads / get_thread vs get_message.
Same pattern already reported against the shared Google Gmail MCP host: GitHub issue 988 in anthropics/claude-ai-mcp (related issue 298). No identical Cursor Forum report found at filing time.
Question: intentional content filtering, or a bug?
Does this stop you from using Cursor
No - Cursor works, but with this issue