Server Details
A MCP server for Gmail that lets you search, read, and draft emails and replies.
- Status
- Healthy
- Last Tested
- Transport
- Streamable HTTP
- URL
- Repository
- mintmcp/servers
- GitHub Stars
- 5
Available Tools
5 toolsdraft_emailTry in Inspector
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.
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | CC recipient email addresses | |
| to | Yes | Recipient email addresses (e.g., ['user@example.com']) | |
| bcc | No | BCC recipient email addresses | |
| subject | Yes | Email subject line | |
| body_html | No | Optional HTML version for rich formatting | |
| body_text | Yes | Plain text email body. Supports markdown formatting |
draft_replyTry in Inspector
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.
| Name | Required | Description | Default |
|---|---|---|---|
| email_id | Yes | ID of the email to reply to (from search_email or get_email) | |
| body_html | No | Optional HTML version for rich formatting | |
| body_text | Yes | Reply message text. Supports markdown formatting | |
| reply_all | No | true: reply to sender and all recipients. false: reply only to sender. Default: true |
get_emailTry in Inspector
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.
| Name | Required | Description | Default |
|---|---|---|---|
| emailId | Yes | Email ID from search_email results |
search_emailTry in Inspector
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.
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Search query using Gmail search syntax. Examples: - from:john@example.com (emails from specific sender) - to:jane@example.com (emails to specific recipient) - subject:meeting (emails with 'meeting' in subject) - has:attachment (emails with attachments) - is:unread (unread emails) - is:important (important emails) - after:2025/1/1 (emails after date) - before:2025/1/31 (emails before date) - newer_than:1d (emails from last day, use 1h for hour, 1w for week) - older_than:1d (emails older than 1 day) - label:inbox (emails in inbox) - in:sent (sent emails) - bare words search all fields Combine with AND/OR operators. Date format: YYYY/M/D or relative (1d, 1w, 1m). | |
| pageToken | No | Token for fetching the next page of results | |
| maxResults | No | Maximum number of results to return (default 10, max 100) |
send_draftTry in Inspector
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.
| Name | Required | Description | Default |
|---|---|---|---|
| draftId | Yes | Draft ID from draft_email or draft_reply response |
FAQ
How do I claim this server?
To claim this server, publish a /.well-known/glama.json file on your server's domain with the following structure:
The email address must match the email associated with your Glama account. Once verified, the server will appear as claimed by you.
What are the benefits of claiming a server?
- Control your server's listing on Glama, including description and metadata
- Receive usage reports showing how your server is being used
- Get monitoring and health status updates for your server
Your Connectors
Sign in to create a connector for this server.