MCPServers
Gmail - MCP server logo
158
0

Summary

This Gmail AutoAuth MCP server, developed by gongrzhe, provides a standardized interface for AI assistants to interact with Gmail through natural language. Built with TypeScript and leveraging the Model Context Protocol SDK, it offers tools for sending emails, reading messages, searching emails, managing labels, and more. The server implements OAuth2 authentication with auto browser launch, supporting both desktop and web application credentials. By abstracting Gmail API operations and handling authentication complexities, it enables AI systems to easily manage email communications. This implementation is particularly valuable for applications requiring programmatic email access, facilitating use cases such as automated email management, intelligent email filtering, and AI-driven communication assistance.

Available Actions(13)

send_email

Sends a new email immediately. Supports plain text, HTML, or multipart emails. Parameters: to (array of strings), subject (string), body (string), cc (optional array of strings), bcc (optional array of strings), mimeType (string)

draft_email

Creates a draft email without sending it. Parameters: to (array of strings), subject (string), body (string), cc (optional array of strings)

read_email

Retrieves the content of a specific email by its ID. Parameters: messageId (string)

search_emails

Searches for emails using Gmail search syntax. Parameters: query (string), maxResults (optional integer)

modify_email

Adds or removes labels from emails (move to different folders, archive, etc.). Parameters: messageId (string), addLabelIds (optional array of strings), removeLabelIds (optional array of strings)

delete_email

Permanently deletes an email. Parameters: messageId (string)

list_email_labels

Retrieves all available Gmail labels. Parameters: None

create_label

Creates a new Gmail label. Parameters: name (string), messageListVisibility (string), labelListVisibility (string)

update_label

Updates an existing Gmail label. Parameters: id (string), name (string), messageListVisibility (string), labelListVisibility (string)

delete_label

Deletes a Gmail label. Parameters: id (string)

get_or_create_label

Gets an existing label by name or creates it if it doesn't exist. Parameters: name (string), messageListVisibility (string), labelListVisibility (string)

batch_modify_emails

Modifies labels for multiple emails in efficient batches. Parameters: messageIds (array of strings), addLabelIds (optional array of strings), removeLabelIds (optional array of strings), batchSize (optional integer)

batch_delete_emails

Permanently deletes multiple emails in efficient batches. Parameters: messageIds (array of strings), batchSize (optional integer)

Last Updated: April 17, 2025

커뮤니티 리뷰

0.0
0 리뷰
5
0
4
0
3
0
2
0
1
0

아직 리뷰가 없습니다. 첫 번째 리뷰를 작성해 보세요!

대화에 참여하려면 로그인하세요

Coming soon to
HighlightHighlight AI

언어

TypeScript

카테고리

태그