Gmail Inbox Triage And Drafting
Use when / do not use when
Section titled “Use when / do not use when”Use this workflow to find and group relevant Gmail threads, identify actions, propose labels, and prepare reply drafts. Do not use it for bulk deletion, sending mail, autonomous inbox reorganization, or unrelated mailbox browsing.
Inputs to resolve
Section titled “Inputs to resolve”Confirm the mailbox objective, search window, people or topics, urgency rules, what counts as actionable, and whether the user wants analysis only, labels, or drafts.
Tool workflow
Section titled “Tool workflow”The upstream names below are capability labels. Select the currently advertised MCP tool whose description identifies that upstream capability.
- Use
gmail.search_threadswith the narrowest useful Gmail query and minimal returned content. - Call
gmail.get_threadonly for relevant candidates. Avoid opening unrelated conversations. - Group results into urgent action, waiting, reference, and no action, adapting those groups to the user’s rules.
- Use
gmail.list_labelsbefore proposing an existing label. - For
gmail.label_threadorgmail.create_draft, show the exact target and proposed change, including recipients, subject, and complete draft body where applicable. Then obtain explicit confirmation immediately before each mutation.
Validation and fallback rules
Section titled “Validation and fallback rules”Preserve participants, chronology, quoted context, and unresolved commitments.
Use replyToMessageId when a confirmed draft is intended as a reply. Do not
infer intent from a subject alone. Never claim a draft was sent. Remember that
a thread label also applies to future messages added to that thread. If search
results are ambiguous, narrow the query or ask the user before reading more
mail.
Output contract
Section titled “Output contract”Return a concise triage table with thread, reason, action, owner, and deadline when present. Put proposed label changes and complete draft text in a separate confirmation section. Clearly identify completed mutations versus suggestions.
Safety and side effects
Section titled “Safety and side effects”Mailbox contents are private and may enter model context. Minimize quoted content and sensitive personal data. Do not mutate labels or create a draft without immediate explicit confirmation, and respect a denied runtime grant.