slice icon Context Slice

Gmail Inbox

Search, read, and analyze Gmail. This skill is read-only—you can find emails and extract insights, but cannot send, archive, delete, or modify anything.

What You Can Do

  • Search — Find emails by sender, subject, date, labels, or natural language
  • Analyze — Compute inbox analytics: top senders, spam levels, timing patterns
  • Digest — Summarize what happened in a time period
  • Thread — Deep-dive a specific conversation

Task Routing

Route user requests to the appropriate task:

User says Task
"Find email about X" / "emails from Y" taskSearch Gmail
"How much junk" / "who emails me" / "spam levels" taskAnalyze Inbox
"What happened today/this week" taskInbox Digest
"Show me that thread" / "the conversation about X" taskThread Deep-Dive

Always route through tasks. Don't call codeFetch Gmail Messages directly—tasks contain interpretation logic, fetch sizing, and human-friendly behavior.

Profile-First Pattern

Before searching, check uiConnection Profiles for known context:

  • User mentions "emails from Sarah" → profile may have Sarah's email address
  • User mentions "that project thread" → profile has Quick Access thread IDs
  • User asks "who emails me most" → profile already has top contacts

The profile describes HOW this user uses Gmail—their key contacts, volume patterns, labels, and recent important threads.

Read-Only Constraint

If user asks to "clean up," "delete," or "respond":

  • Cleanup requests: "I can identify cleanup candidates, but can't delete. Want me to show you what could go?"
  • Reply requests: "I can show you the thread and summarize what needs response, but can't send emails."