Google Gmail MCP server
Send, read, organize emails, manage labels, drafts, and filters
31 stars
Reviews
Write oneNobody has reviewed Google Gmail yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Google Gmail tools (63, 32 write)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
create_cse_identitywrite actionCreates and configures a client-side encryption identity for sending encrypted mail from a user account. The S/MIME certificate is published to a shared domain-wide directory, enabling secure communication within a Google Workspace organization.
create_cse_keypairwrite actionCreates and uploads a client-side encryption S/MIME public key certificate chain and private key metadata for Gmail. Requires either domain-wide delegation authority for administrators or hardware key encryption enabled for individual users.
create_draftwrite actionCreates a new email draft with the DRAFT label in Gmail. The draft can optionally include classification labels and custom label IDs.
create_labelwrite actionCreates a new custom label in Gmail for organizing messages and threads. Labels can be configured with specific visibility settings in the Gmail web interface.
create_smime_configwrite actionUpload and configure an S/MIME certificate for a send-as alias. The certificate must be provided in PKCS#12 format containing a private/public key pair and certificate chain.
delete_cse_identitywrite actionPermanently deletes a client-side encryption identity, preventing further use for sending encrypted messages. The identity cannot be restored; create a new identity with the same configuration if needed.
delete_cse_keypair_permanentlywrite actionPermanently and immediately deletes a client-side encryption key pair. The key pair must be disabled for at least 30 days before obliteration. Once obliterated, all messages encrypted with this key become permanently inaccessible to all users.
delete_draftwrite actionPermanently deletes a draft message without moving it to trash. This action is immediate and irreversible.
delete_filterwrite actionPermanently deletes a specified Gmail filter. This action is immediate and cannot be undone.
delete_forwarding_addresswrite actionDeletes a forwarding address and revokes any associated verification. This operation requires service account credentials with domain-wide delegation authority.
delete_labelwrite actionPermanently deletes a label and removes it from all messages and threads it is applied to. This action cannot be undone.
delete_messagewrite actionPermanently and immediately deletes a specified message. This action cannot be undone; consider using trash_message for recoverable deletion instead.
delete_messages_batchwrite actionPermanently deletes multiple messages by their IDs. Note that this operation provides no guarantees about message existence or prior deletion status.
delete_send_as_smime_configwrite actionDeletes the S/MIME configuration for a specified send-as alias. This removes the security certificate associated with the alias used for signing and encrypting outgoing emails.
delete_threadwrite actionPermanently deletes a thread and all messages within it. This action cannot be undone; consider using trash_thread as a safer alternative.
disable_cse_keypairDisables a client-side encryption key pair, preventing the user from decrypting incoming CSE messages or signing outgoing CSE mail. The key pair can be re-enabled later using enable_cse_keypair, or permanently deleted after 30 days using obliterate_cse_keypair.
enable_cse_keypairReactivates a previously disabled client-side encryption key pair for use with associated encryption identities. Administrators require service account with domain-wide delegation authority; end users require hardware key encryption to be enabled.
get_auto_forwardingRetrieves the auto-forwarding configuration for the specified Gmail account. This includes the forwarding address and whether auto-forwarding is enabled.
get_cse_identityRetrieves a client-side encryption identity configuration for a specified email address. Administrators require service account with domain-wide delegation authority, while users require hardware key encryption to be enabled.
get_cse_keypairRetrieves a client-side encryption key pair for Gmail. Administrators require service account authorization with domain-wide delegation, while users must have hardware key encryption enabled.
get_delegateRetrieves the delegate relationship for a specified email address. This operation requires service account clients with domain-wide authority and uses the delegate's primary email address (not aliases).
get_draftRetrieves a specific draft message by ID. Returns the draft in the requested format for viewing or further editing.
get_filterRetrieves a specific Gmail filter by its ID. Use this to fetch the configuration and rules of an existing filter.
get_forwarding_addressRetrieves the configuration details for a specified forwarding address associated with a Gmail account. Use this to view forwarding settings for a particular email address.
get_labelRetrieves a specific Gmail label by its ID. Use this to fetch detailed information about a label, such as its name, visibility settings, and other metadata.
get_messageRetrieves a specific message by ID from the user's mailbox. Supports multiple output formats including full message content, headers only, or raw RFC 2822 format.
get_message_attachmentRetrieves a specific attachment from a Gmail message. Use this to download or access attachment metadata by providing the message ID and attachment ID.
get_profileRetrieves the Gmail profile information for the authenticated user or a specified user, including account details and settings.
get_send_as_aliaswrite actionRetrieves a specific send-as alias configuration for a user. Returns an HTTP 404 error if the specified email address is not configured as a send-as alias.
get_smime_infoRetrieves the S/MIME configuration for a specified send-as alias. This allows you to access the details of a specific S/MIME certificate associated with an email alias.
get_threadRetrieves a specific email thread by ID. Returns thread messages in the requested format with optional filtering of metadata headers.
get_vacation_settingsRetrieves the vacation responder settings for a Gmail account, including whether auto-reply is enabled and the message content.
import_messageImports a message into the user's mailbox with standard email delivery scanning and classification. The message is processed similarly to SMTP delivery, with a maximum size limit of 150MB.
insert_messagewrite actionInserts a message directly into the user's mailbox, bypassing scanning and classification, similar to IMAP APPEND. This operation does not send a message but adds it to the mailbox with optional metadata.
list_cse_identitiesRetrieves all client-side encrypted identities for an authenticated user. Administrators with domain-wide delegation can manage identities for their organization, while users managing their own identities require hardware key encryption to be enabled.
list_cse_keypairsRetrieves all client-side encryption key pairs for a user. Administrators with domain-wide delegation can manage keypairs for users in their organization, while individual users require hardware key encryption to be enabled.
list_delegatesRetrieves the list of delegates for the specified Gmail account. This operation requires service account credentials with domain-wide delegation authority.
list_draftsRetrieves a list of draft messages from the user's mailbox. Supports filtering by search query and optional inclusion of drafts from spam and trash folders.
list_filtersRetrieves all message filters configured for a Gmail account. Filters define rules for automatically organizing, labeling, or processing incoming messages.
list_forwarding_addressesRetrieves all forwarding addresses configured for the specified Gmail account. Forwarding addresses are alternative email addresses where incoming messages can be automatically sent.
list_labelsRetrieves all labels in the user's mailbox. Labels are used to organize and categorize emails in Gmail.
list_mailbox_historyRetrieves the chronological history of all changes to a mailbox, including message additions, deletions, and label modifications. Results are returned in chronological order by historyId and support pagination for efficient sync operations.
list_messagesRetrieves a list of messages from the user's mailbox, with optional filtering by labels and inclusion of spam/trash folders. Supports pagination through the maxResults parameter.
list_send_as_aliaseswrite actionRetrieves all send-as aliases configured for the specified Gmail account, including the primary email address and any custom 'from' aliases.
list_smime_configsLists all S/MIME configurations for a specified send-as alias. S/MIME configs define the certificates and encryption settings used when sending emails from this alias.
list_threadsRetrieves a list of message threads from the user's mailbox, with optional filtering by labels, search query, and inclusion of spam/trash folders.
move_message_to_trashMoves a specified message to the trash folder. The message can be restored from trash before permanent deletion.
move_thread_to_trashMoves a thread and all its associated messages to the trash. The thread and its messages can be permanently deleted or recovered from trash.
remove_message_from_trashwrite actionRestores a message from the trash by removing it from the trash folder. The message will be returned to its previous labels or inbox.
remove_thread_from_trashwrite actionRestores a thread from trash by removing it and all its associated messages from the trash folder.
send_draftwrite actionSends an existing draft message to recipients specified in the To, Cc, and Bcc headers. The draft must already exist and contain valid recipient information.
send_messagewrite actionSends an email message to recipients specified in the To, Cc, and Bcc headers. The message is delivered immediately to all specified recipients.
send_verification_email_to_send_as_aliaswrite actionSends a verification email to a send-as alias address to confirm ownership. The alias must have a pending verification status and requires service account with domain-wide delegation authority.
set_default_smime_configSets the default S/MIME configuration for the specified send-as alias. This determines which S/MIME certificate will be used by default when sending emails from this alias.
update_cse_identity_keypairwrite actionAssociates a new key pair with an existing client-side encryption identity. The updated key pair must validate against Google's S/MIME certificate profiles. Requires either domain-wide delegation authority for administrators or hardware key encryption enabled for individual users.
update_draftwrite actionUpdates the content of an existing draft message. Replaces the draft's message body and metadata with the provided values.
update_labelwrite actionUpdates an existing Gmail label with new properties such as display name and visibility settings. Only user-created labels can be modified; system labels cannot be changed.
update_label_partialwrite actionUpdate properties of a Gmail label using partial update semantics. Modify visibility settings, display name, or other label attributes without replacing the entire label configuration.
update_message_labelswrite actionUpdates the labels applied to a specific message by adding and/or removing label IDs. You can modify up to 100 labels per request.
update_message_labels_batchwrite actionModifies labels on specified messages by adding and/or removing label IDs. Supports batch operations on up to 1000 messages per request.
update_send_as_aliaswrite actionUpdates a send-as alias configuration for a Gmail account, including display name, reply-to address, and optional HTML signature. Service accounts with domain-wide delegation can update non-primary addresses; standard users can only modify their own aliases.
update_send_as_alias_partialwrite actionupdate_thread_labelswrite actionModifies the labels applied to a thread, affecting all messages within it. Supports adding and removing labels in a single operation.
Public scan report
scanner v0.1.9 · 2026-09-27 · same rubric, same numbers if you re-run it
- Code scan5 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 138 days ago8/15
- Maintainer identityregistry namespace matches repository owner7/10
How Google Gmail compares
Against every graded Email MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 80/100
- higher than 65% of 916 Email servers
- Tools
- 63
- the typical Email server has 7
- Tools that change things
- 51%
- typical: 25%. Fewer write tools means less an agent can break
- GitHub stars
- 31
- more than 92% of 493 Email servers
What its tools let an agent do: 25 read · 7 create · 16 change · 12 delete · 3 send or post
Install Google Gmail in Claude Code, Cursor or VS Code
claude mcp add google-gmail -- uvx mcparmory-google-gmail
What the publisher says
From the Google Gmail repository's README, as published. We do not edit it. Read it on GitHub
MCP Armory Registry
Production-ready MCP servers for popular APIs, generated by MCP Blacksmith.
Servers · Install & Usage · Features · How it works · License
MCP servers that connect AI agents to real-world APIs. Each server is a standalone Python package — generated from the upstream OpenAPI spec using MCP Blacksmith and tested against the live API before release. Hosted on MCP Armory or run independently.
<!-- SERVERS:BEGIN -->
Servers
🧠 AI & Machine Learning   ElevenLabs · Linkup · Parallel · Perplexity AI · Ragie · Replicate
📊 Analytics   Ahrefs · Datadog · Google Analytics · Google Search Console · Linkly · Mixpanel · PostHog
⛓️ Blockchain & Crypto   Alchemy NFT
💼 CRM & Sales   Apollo
💬 Communication   Atlassian Confluence · Google Gmail · MailerSend · Mailtrap · Postmark · Resend · Slack
🗄️ Data & Databases   Enigma · Pinecone
🛠️ Developer Tools   AgentQL · Apify · Bitbucket · Bright Data · Browserbase · BuiltWith · Canvas · CircleCI · Codacy · Contentful Management · ConvertAPI · E2B · Firecrawl · GitHub · GitLab · LaunchDarkly · Postman · Scrapingant · Semrush AppCenter · Sentry
📄 Documents & Printing   PDF.co
🛒 E-commerce   Shopify Admin
💰 Finance   Alpha Vantage · Polygon · Ramp
👥 HR & Recruiting   BambooHR
☁️ Infrastructure   Globalping · Grafana · PagerDuty · Rootly · Runpod
⚖️ Legal & Compliance   NetLicensing
🗺️ Maps & Location   Google Maps Platform · IP2Location.io IP Geolocation · OpenCage Geocoding
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Google Gmail: common questions
- Is Google Gmail MCP server safe?
- Mostly: it is graded B (80/100). Read the Google Gmail safety report
- How do I install Google Gmail?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Google Gmail need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Google Gmail maintained?
- The last commit was 176 days ago (2026-05-12). The latest release is v1.0.4.
- What can I use instead of Google Gmail?
- Servers from other publishers that do the same job: Inbox Zero MCP server, Imap MCP server and Fluxmail MCP server.
- How does Google Gmail compare with other Email MCP servers?
- safety score 80/100 (higher than 65% of 916 Email servers); tools 63 (the typical Email server has 7); tools that change things 51% (typical: 25%. Fewer write tools means less an agent can break). Full comparison.
Alternatives to Google Gmail
Same job from other publishers: the closest match first, then the best rated.
Inbox ZeroSearch Gmail and Outlook, save drafts, manage email rules, and view email stats.not reviewedEstablishedA- ImapIMAP/SMTP MCP server to search, read, organize, send, reply & forward email for AI assistantsnot reviewedEstablishedA
- FluxmailRead, search, draft, send, and organize email through Gmail, Outlook, and IMAP/SMTP mailboxes.not reviewedGrowingB
- MCPEmailsNever-stored live email: read, send and triage Gmail, Outlook / Microsoft 365, or any IMAP mailbox.not reviewedGrowingA
- GmailAllow AI systems to read, send, archive, and manage emails via Gmail.not reviewedGrowingB