What can you do with it?
Gmail allows you to manage email communications programmatically. You can send emails with custom content, retrieve and read specific emails, search messages by various criteria including date ranges, manage email labels for organization, handle attachments properly, and modify message properties. This integration is perfect for email automation, inbox management, and communication workflows.How to use it?
Basic Command Structure
Parameters
Required:action
- The operation to perform with Gmail
Tools
Send Email
Send a new email message Parameters:to
(required) - Email address of the recipientsubject
(required) - Subject of the emailbody
(required) - Content of the emailfrom
(optional) - Sender email (defaults to authenticated user)
Get Email
Retrieve a specific email by ID Parameters:message-id
(required) - The ID of the email message
Search Emails
Search for emails using Gmail search syntax Parameters:query
(required) - Search query using Gmail search operatorslabel
(optional) - Filter by specific labelfrom-date
(optional) - Start date for search (Unix timestamp)to-date
(optional) - End date for search (Unix timestamp)
List Labels
Get all labels in the Gmail account Parameters:- None required
Add Label
Add a label to an email message Parameters:message-id
(required) - The ID of the email messagelabel-name
(required) - Name of the label to add
Remove Label
Remove a label from an email message Parameters:message-id
(required) - The ID of the email messagelabel-name
(required) - Name of the label to remove
Move Email
Move an email to a different label/folder Parameters:message-id
(required) - The ID of the email messageto-label
(required) - Destination label namefrom-label
(optional) - Label to remove (often INBOX)
Handle Attachments
Download and save email attachments Parameters:message-id
(required) - The ID of the email with attachmentssave-location
(optional) - Where to save attachments