gmail
Server Details
A MCP server for Gmail that lets you search, read, and draft emails and replies.
- Status
- Healthy
- Uptime
- 100.0% over the last 24 hours
- OAuth
- Works in Glama
- Last Tested
- Transport
- Streamable HTTP · MCP 2025-11-25
- URL
- Repository
- mintmcp/servers
- GitHub Stars
- 8
- ChatGPT
- –
- Claude
- –
TDQS
Scored across 12 tools
Each tool targets a distinct action or resource: add_labels vs remove_labels vs batch_modify_labels are separated by single-message vs bulk operations, and draft_email vs draft_reply by new message vs reply. No two tools share an overlapping purpose that would cause misselection.
All 12 tools follow a consistent snake_case verb_noun pattern (e.g., add_labels, create_label, get_email, search_email). There are no deviations in casing or verb style.
The 12 tools cover core Gmail operations (search, read, draft, send, labels, attachments) without excessive bloat. This is well within the ideal 3-15 range and each tool earns its place.
Core email workflows (search, read, draft, send, label management) are covered. Minor gaps include no direct send_email (draft+send works), no forward tool, and no explicit delete/trash, though label-based archiving and TRASH label additions provide workarounds.
Available Tools
12 toolsadd_labelsAInspect
Add one or more labels to an email message. Use list_labels to find label IDs. Common system label IDs: INBOX, STARRED, IMPORTANT, UNREAD, SPAM, TRASH.
Inputs: emailId (required), labelIds (required). Returns: id, message, labelIds, threadId
batch_modify_labelsAInspect
Add and/or remove the same labels on many email messages at once in a single Gmail API call (wraps users.messages.batchModify). Use this for bulk operations such as marking multiple specific emails as read (remove ['UNREAD']), archiving (remove ['INBOX']), or starring (add ['STARRED']). Use list_labels to find label IDs (Gmail requires IDs, not names). Common system label IDs: INBOX, STARRED, IMPORTANT, UNREAD, SPAM, TRASH. Provide 1-1000 email IDs and at least one of add or remove. The same label changes are applied to every listed message. Gmail returns no per-message status, so a successful call means Gmail accepted the request; an invalid email ID or label ID typically causes Gmail to reject it.
Inputs: emailIds (required), add, remove. Returns: message, addedLabels, acceptedCount, removedLabels
create_labelAInspect
Create a new Gmail label. Labels can be used to organize emails. After creation, use add_labels to apply the label to messages.
Inputs: name (required), labelListVisibility, messageListVisibility. Returns: id, name, type, message
delete_labelADestructiveInspect
Permanently delete a Gmail label. This removes the label from all messages but does not delete the messages themselves. Only user-created labels can be deleted; system labels (INBOX, SENT, etc.) cannot be removed.
Inputs: labelId (required). Returns: labelId, message
draft_emailAInspect
Create a new email draft saved to the Drafts folder. Use this when composing an email to review or send later. The draft can be sent using send_draft. Plain text is automatically formatted with markdown. Optionally provide HTML for rich formatting.
Inputs: to (required), subject (required), body_text (required), cc, +2 more. Returns: id, message, createdMessage
draft_replyAInspect
Create a reply draft to an existing email, maintaining the conversation thread. Use this to compose a response that can be reviewed before sending. Automatically adds 'Re: ' prefix to subject and preserves email threading. The reply_all parameter determines whether to reply to all original recipients or just the sender. Plain text supports markdown formatting.
Inputs: email_id (required), body_text (required), body_html, reply_all. Returns: id, message, createdMessage
get_attachmentARead-onlyInspect
Download an email attachment by its ID. Use after get_email to fetch the actual attachment content. Pass the filename and mimeType from get_email's attachment metadata. Text files (txt, csv, json, html, xml, md) are returned as decoded text. Images (png, jpg, gif, webp) are returned as viewable image content. Other files are returned as base64-encoded data. Attachments over 10MB are rejected.
Inputs: emailId (required), filename (required), mimeType (required), attachmentId (required). Returns: size, content, encoding, filename, +1 more
get_emailARead-onlyInspect
Retrieve the complete content of a specific email using its ID from search_email. Use this to read the full email body (text or HTML), see all recipients (to, cc, bcc), and access the complete headers. This is necessary after search_email since search only returns snippets, not the actual email content.
Inputs: emailId (required). Returns: cc, id, to, bcc, +8 more
list_labelsARead-onlyInspect
List all Gmail labels for the authenticated user. Returns both system labels (INBOX, SENT, TRASH, etc.) and user-created labels with message/thread counts. Use this to discover label IDs needed for add_labels, remove_labels, or search_email queries.
Inputs: no named parameters. Returns: labels
remove_labelsAInspect
Remove one or more labels from an email message. Use list_labels to find label IDs. Removing INBOX effectively archives the message. Removing UNREAD marks it as read.
Inputs: emailId (required), labelIds (required). Returns: id, message, labelIds, threadId
search_emailARead-onlyInspect
Search for emails in Gmail to find specific messages or filter the inbox. Use this when the user wants to find emails by sender, subject, date, content, or other criteria. Returns email summaries suitable for listing and overview - to read full email content, attachments, or HTML body, use get_email with the returned email ID. This tool searches across all folders unless specified otherwise in the query.
Inputs: query (required), pageToken, maxResults. Returns: emails, message, resultCount, nextPageToken
send_draftAInspect
Send a previously created draft email. Use this after draft_email or draft_reply when ready to send. The draft will be moved from Drafts to Sent folder automatically. This action cannot be undone.
Inputs: draftId (required). Returns: id, message, labelIds, threadId
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
A MCP server for Outlook email that lets you search, read, and draft emails and replies.
Your IMAP mailbox as an MCP server: read, search and (if you allow it) organize mail. Open source.
An MCP server that provides email capabilities, hosted on Alpic platform
An MCP server that provides email capabilities, hosted on Alpic platform
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceMCP server for Gmail that enables searching, reading, archiving, and managing email from any MCP client.6 npm1MIT
- AlicenseAqualityCmaintenanceAn MCP server that reads across all your Gmail accounts from one connection, enabling searching, drafting, labeling, and filtering emails without sending.1758 PyPI6MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server for Gmail that allows AI assistants to read, search, compose drafts, send emails, and manage labels with attachment support.MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server that provides read, label, and draft access to multiple Gmail accounts from a single server, never sending email.MIT
Glama MCP Gateway
Add one secure layer between your agents and this server.