Tmp.Mw5jO0UIvc

Use when the user asks to read, organize, draft, forward, autoreply, or otherwise work with Gmail in depth. Triggers for requests involving threads, labels, drafts, attachments, bulk archive/trash/mark-read operations, forwarding messages, or any Gmail operation beyond simple search/get/send. Includes auth and Gmail tools only.

Audits

Warn

Install

openclaw skills install gogcli-mcp-gmail

gogcli-mcp-gmail

Extended Gmail MCP server via gogcli — 32 tools: auth + 4 base Gmail + 23 extra dedicated Gmail tools.

Requirements

  • gogcli installed and authenticated
  • Node.js 18 or later

Setup

{
  "mcpServers": {
    "gogcli-gmail": {
      "command": "npx",
      "args": ["-y", "gogcli-mcp-gmail"],
      "env": {
        "GOG_ACCOUNT": "you@gmail.com"
      }
    }
  }
}

Extra Gmail Tools

Read

ToolWhat it does
gog_gmail_rawRaw Gmail API JSON for a message
gog_gmail_attachmentDownload a single attachment
gog_gmail_urlPrint web URLs for threads
gog_gmail_historyList history events since a historyId

Threads

ToolWhat it does
gog_gmail_thread_getGet a thread with all messages
gog_gmail_thread_modifyModify labels on a thread
gog_gmail_thread_attachmentsList/download all attachments in a thread

Labels

ToolWhat it does
gog_gmail_labels_listList all labels
gog_gmail_labels_getGet a label's details and counts
gog_gmail_labels_createCreate a new label
gog_gmail_labels_renameRename a label
gog_gmail_labels_deleteDelete a label
gog_gmail_labels_modifyModify labels on one or more threads

Bulk operations

ToolWhat it does
gog_gmail_archiveArchive by IDs or query
gog_gmail_mark_readMark read by IDs or query
gog_gmail_mark_unreadMark unread by IDs or query
gog_gmail_trashTrash by IDs or query
gog_gmail_message_modifyModify labels on a single message
gog_gmail_batch_deletePermanently delete multiple messages
gog_gmail_batch_modifyModify labels on multiple messages

Drafts

ToolWhat it does
gog_gmail_drafts_listList drafts
gog_gmail_drafts_getGet a draft
gog_gmail_drafts_createCreate a draft
gog_gmail_drafts_updateUpdate a draft
gog_gmail_drafts_deleteDelete a draft
gog_gmail_drafts_sendSend a draft

Write

ToolWhat it does
gog_gmail_forwardForward a message
gog_gmail_autoreplyReply once to all messages matching a query

Plus 5 auth tools and 4 base Gmail tools (search, get, send, run). Use gog_gmail_run for advanced settings (filters, delegates, forwarding, sendas, vacation, watch) and email tracking (track).