Always-on Usage

Copy library / What got built / Grok Bot

Gmail MCP: Spam search empty by default — use in:anywhere (+ label:SPAM)

Title and summary are in the original language, not translated.

Subscribe

What it does
Staff (deanrie, 2026-09-07): Grok Bot’s Gmail connector search excludes Spam and Trash by default, so search_threads can return empty while list_labels still shows Spam counts—includeTrash only adds Trash, and in:spam / label:SPAM / is:spam do not override; ask the Bot for search_threads with in:anywhere label:SPAM (or in:anywhere is:unread); connector can move/label to Trash/Spam but Google’s ser
Scenarios
Inbox triage
What the source covers
  • Author & original linkYes
  • What it doesYes
  • Verbatim source excerptYes
  • Screenshots / mediaNot in source
  • Steps / chaptersNot in source
  • Verbatim prompt / configNot in source
  • Results / numbersNot in source
  • Risk notesYes
  • Related entriesYes

— means the source doesn't say; we don't fill it in.

Verbatim source excerpt
Where does the bug appear (feature/product)? Grok Bot Describe the Bug Product: Grok Bot / Gmail MCP Account: aviv@theaviv.ca Namespace: user-Gmail–professional-aviv-theaviv-ca Grok Bot’s Gmail connector cannot search Spam even though the label metadata reports Spam threads. Steps to Reproduce • Call list_labels — SPAM showed threadsTotal=3, threadsUnread=3. • Call search_threads with query in:spam. • Also try label:SPAM, is:spam, and broader queries with includeTrash. • Compare with an Inbox search. Expected Behavior search_threads returns the Spam threads so an agent can review Spam without
Show full post using the browser. Operating System Other Version Information N/A — Gmail MCP connector issue; no Grok Bot version information available. Additional Information Actual: search_threads returns empty {} every time. Inbox search works, while list_labels still shows the Spam count. …
RongleCat/awesome-grok-bot (GitHub) · Open original ↗

From the forum's first post, verbatim and untranslated.

Prompt

The source does not include a prompt you can copy verbatim.

How to copy
  1. Read the source: forum.cursor.com ↗
  2. Turn the steps/prompts from the source into one message for your Bot
  3. Run it manually once, then decide the frequency
Risks and limits
  • Reads and writes your mailbox: grant read-only and draft access first, and approve before anything is sent
  • Uses a browser or website login: the costliest kind of step, so prefer a connector where one exists
  • The author's result may not reproduce for you; the original post is the reference
Usage estimate
Estimate with the metal calculator