Gmail
v0.2.1Gmail MCP Pack
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
gmail_list_messages
List messages in your inbox with optional filtering by label or read status. Returns message IDs, thread IDs, and preview text. Use gmail_search for complex queries like date ranges or attachments.
| Parameter | Type | Description |
|---|---|---|
max_results | number | Maximum number of messages to return (default 10, max 100) |
page_token | string | Token for fetching the next page of results |
query | string | Gmail search query to filter messages (e.g., "from:alice subject:meeting") |
gmail_get_message
Fetch full email details by message ID. Returns headers, subject, body text, sender, recipients, attachments, and applied labels.
| Parameter | Type | Description |
|---|---|---|
message_id * | string | The ID of the message to retrieve |
format | string | Format of the returned message (default: full) |
gmail_search
Search emails using Gmail query syntax (e.g., 'from:sender@example.com', 'subject:invoice', 'has:attachment', 'after:2024/01/01', 'is:unread'). Returns matching message IDs.
| Parameter | Type | Description |
|---|---|---|
query * | string | Gmail search query (e.g., "from:bob@example.com after:2024/01/01 has:attachment") |
max_results | number | Maximum number of messages to return (default 10, max 100) |
gmail_send
Send an email with recipient, subject, and body text. Optionally add CC, BCC, reply-to address, and file attachments.
| Parameter | Type | Description |
|---|---|---|
body * | string | Email body text (plain text) |
subject * | string | Email subject line |
to * | string | Recipient email address |
bcc | string | BCC recipients (comma-separated email addresses) |
cc | string | CC recipients (comma-separated email addresses) |
gmail_list_labels
Get all your labels including system folders (INBOX, SENT, TRASH, DRAFTS) and custom labels. Returns label names and IDs for filtering or organizing.