MyClaw
HomeProductsUse CasesPricingSkillsResourcesCompany
HomeUse CasesPricingSkills
Sign In
Home
ProductsOpenClaw HostingHermes Agent Hosting
Use CasesPricingSkills
ResourcesCompareTutorialLearnBlogUpdatesResourcesCommunity
CompanyAboutSupport
Sign In
MyClaw.ai

Your AI agent, already running.

Product

OpenClaw HostingHermes Agent HostingUse CasesPricingCompareAlibaba Cloud

Resources

BlogUpdatesSkillsModelsSupportCommunityCapybara

Legal

TermsPrivacyCookieGDPRContact

© 2023 Cubo World Inc. All rights reserved.

← Back to Skills
Design & Media
🎨

Gmail

Read, send, and manage Gmail messages, threads, labels, and drafts via managed OAuth — no token handling required.

byungkyuv1.0.6
ProductivityAI PoweredAutomationAPI
Connecting to VM...
Connecting to VM...
npx clawhub@latest install gmail
52Stars
20.4kDownloads
1.0kCurrent Installs
144All-time Installs
📦
v1.0.6Version
📅
Feb 26, 2026Updated

Requirements

Maton API Key
View Source(ClawHub)

Gmail Skill Overview

This skill gives AI agents full access to the Gmail API through Maton's managed OAuth gateway. Instead of handling Google OAuth flows yourself, you authenticate once via Maton and all requests are proxied with your OAuth token automatically injected. Supported operations include reading and sending messages, managing threads, applying or removing labels, creating and sending drafts, and querying messages with Gmail's native search operators.

How to Use It

Step 1: Run in your terminal or install this skill on MyClaw

npx clawhub@latest install gmail
or

Click the Install button at the top of this page for one-click setup

When to Use Gmail

Best Fit

  • You want an AI agent to read, triage, or respond to Gmail messages on your behalf.
  • You need to automate email workflows such as drafting replies, applying labels, or trashing messages.
  • You want to query your inbox using Gmail search operators (e.g. is:unread, has:attachment, from:) without setting up your own OAuth integration.
  • You are building a multi-step agent pipeline that needs to fetch email context before taking further actions.

When Not to Use

  • You need to integrate with a third-party app other than Gmail — use the api-gateway skill instead.
  • You need to access Google services beyond Gmail (e.g. Google Calendar, Google Drive) — this skill is scoped to Gmail only.

Key Features

Managed OAuth — No Token Handling

Authentication is handled by Maton's gateway. You connect your Google account once at ctrl.maton.ai, and all subsequent API calls automatically receive a valid OAuth token. No need to manage refresh tokens or OAuth scopes yourself.

Full Gmail API Coverage

Supports listing and reading messages, sending messages, listing and fetching threads, managing labels, trashing messages, and creating or sending drafts. The gateway proxies directly to gmail.googleapis.com using native Gmail API paths.

Powerful Message Querying

Use Gmail's native q parameter with operators like is:unread, from:, subject:, has:attachment, and date ranges to precisely filter messages without additional parsing logic.

Multi-Account Support

Manage multiple Gmail connections under a single Maton API key. Specify which account to use per request via the Maton-Connection header, or let the gateway default to your primary active connection.

Label Management

Add or remove Gmail labels (STARRED, UNREAD, INBOX, etc.) on any message in a single API call, enabling automated inbox organization workflows.

Use Cases

Inbox Triage Agent

An AI agent lists unread messages using q=is:unread, reads each message body, categorizes them, applies labels, and marks low-priority emails as read — all without any manual intervention.

Automated Email Drafting

Given a prompt or trigger (e.g. a new lead form submission), an agent creates a Gmail draft with a personalized response and either saves it for human review or sends it immediately via the Send Draft endpoint.

Email-Based Data Extraction

An agent queries emails by sender or subject keyword, retrieves message content, and extracts structured data (e.g. invoice details, order confirmations) for downstream processing or storage.

Thread Monitoring and Summarization

An agent fetches full email threads on a schedule, summarizes conversation history, and surfaces action items — useful for monitoring customer support threads or project discussions.

Requirements

  • Maton API Key (required) — Authenticates all requests through the Maton gateway. Obtain at maton.ai/settings.
  • Google OAuth Connection (required) — A connected Google account authorized via ctrl.maton.ai. Required before making any Gmail API calls.
Connecting to VM...
npx clawhub@latest install gmail
52Stars
20.4kDownloads
1.0kCurrent Installs
144All-time Installs
📦
v1.0.6Version
📅
Feb 26, 2026Updated

Requirements

Maton API Key
View Source(ClawHub)

FAQ

Reviews

0 reviews

Log in to write a review

No reviews yet. Be the first to share your experience!