Zurück zu Skills
🎨

Gmail

Full Gmail API integration with managed OAuth — read, send, search, label, and manage emails, threads, and drafts directly from your AI agent.

von byungkyu
Design & MediaProductivityAutomationAPI

# Gmail Full Gmail API integration with managed OAuth — read, send, search, label, and manage emails, threads, and drafts directly from your AI agent. Gmail gives your AI agent full access to the Gmail API through managed OAuth authentication via the Maton gateway. Read and send emails, manage threads and labels, create and send drafts, trash messages, and search your inbox using Gmail query operators — all without manual OAuth token management. ## How It Works The skill uses the Maton API gateway ( gateway.maton.ai ) to proxy requests to the Gmail API. You authenticate once by creating a Google OAuth connection through the Maton control panel, and the gateway automatically injects your OAuth token into every request. All standard Gmail API endpoints are supported through the gateway's URL pattern: https://gateway.maton.ai/google-mail/{native-api-path} . ## Key Features - **Managed OAuth**: No manual token refresh or OAuth flow handling; the Maton gateway manages authentication automatically - **Full Gmail API Access**: List, read, send, trash, and modify messages; manage threads, labels, and drafts - **Query Operators**: Use Gmail search syntax (is:unread, from:, subject:, has:attachment, date ranges) to find specific messages - **Multi-Account Support**: Connect multiple Gmail accounts and switch between them using the Maton-Connection header - **Connection Management**: Create, list, and delete OAuth connections through the Maton control panel API - **Draft Management**: Create drafts and send them programmatically ## Requirements - **Maton API Key**: Required for authentication. Sign up at maton.ai and copy your key from the settings page - **Google OAuth Connection**: Must create a Gmail OAuth connection through ctrl.maton.ai and authorize it in a browser ## Use Cases - **Email Triage**: Have your AI agent scan unread emails and summarize or prioritize them - **Automated Responses**: Draft and send replies based on email content and context - **Email Search**: Find specific emails by sender, subject, date range, or attachment status - **Label Management**: Automatically organize emails by applying or removing labels - **Draft Preparation**: Create email drafts for review before sending ## Installation Install via: `npx clawhub@latest install gmail`

Installation

1

In Ihrem Terminal ausführen

npx clawhub@latest install gmail
2

Klicken Sie oben auf dieser Seite auf die Schaltfläche Installieren für eine Ein-Klick-Einrichtung