Tracecat

Gmail MCP server

Search threads, manage drafts, and apply labels in Gmail from your AI agents.

Email
http
Official docs

About

Connect Tracecat to Gmail to search threads, manage drafts, and apply labels for SOC analysts triaging phishing reports and IT teams handling service desk email. You can pivot from sender headers into your SIEM and EDR to verify a reported phishing thread in seconds. From there, label the message with the verdict, reply with templated guidance, and convert inbound user emails into tickets with confidence.

Setup

  1. 1

    Sign in with OAuth

    You'll authorize Tracecat to access Gmail on your behalf. No API keys to manage.

  2. 2

    Select the Gmail tile in the Tracecat MCP catalog

    Open the MCP catalog in your workspace, select the Gmail tile, and complete the OAuth flow.

  3. 3

    Enable Gmail in your agent

    In your ai.agent action or Agents tools tab, select Gmail from the MCP integrations dropdown.

Tools

create_draftCreate a draft email with subject, recipients, and body in the connected mailbox.
create_labelCreate a new Gmail label for organizing threads.
get_threadFetch a thread with all messages, headers, and bodies.
label_messageApply one or more labels to a single message.
label_threadApply one or more labels to every message in a thread.
list_draftsList drafts in the connected mailbox with subject and recipient.
list_labelsList labels in the connected mailbox with system or user type.
search_threadsSearch threads using Gmail's query syntax for sender, subject, label, and date filters.
unlabel_messageRemove one or more labels from a single message.
unlabel_threadRemove one or more labels from every message in a thread.

Deploy the Gmail MCP server in minutes

Connect your security agents to 50+ hosted MCP servers.

Self-host free