Gmail
Connect with Google Gmail to send, view, and manage emails.
Key Features
- Send and draft emails
- View and search emails
- Manage email labels
- Delete and modify emails
- Batch operation support
Basic Information
Authentication Method
Uses OAuth 2.0 for authentication.
Required Permissions
https://mail.google.com/
: Full Gmail access permissions
Supported MCP Tools
Email Sending Tools
send_email
Sends a new email.
draft_email
Drafts an email.
Email Viewing Tools
read_email
Retrieves the content of a specific email.
search_emails
Searches for emails using Gmail search syntax.
Email Management Tools
modify_email
Modifies email labels (move to different folders).
trash_email
🗑️
UPDATED! Renamed from previous delete_email
.
Moves an email to trash.
Label Management Tools
list_email_labels
Retrieves all available Gmail labels.
create_label
Creates a new Gmail label.
update_label
Updates an existing Gmail label.
delete_label
Deletes a Gmail label.
get_or_create_label
Gets an existing label by name or creates it if it doesn’t exist.
Batch Operation Tools
batch_modify_emails
Modifies labels for multiple emails in batches.
batch_trash_emails
🗂️
UPDATED! Renamed from previous batch_delete_emails
.
Moves multiple emails to trash in batches.
Usage Example
For example,
- When you input “Check recent emails in inbox” as a prompt,
- LLM calls the
search_emails
tool via MCP to search for emails. - Then, it responds in the chat based on the tool call results.
Notes
- Be careful when processing large volumes of emails in batch operations.
- Email deletion is irreversible, so use with caution.
- Double-check recipient addresses when sending emails.
- Be mindful of Gmail API usage limits to avoid excessive requests.
Last updated on