add-gmail

Integrate Gmail with MatClaw for reading, composing, and routing emails.

85|23|Updated Mar 7, 2026
One-click install
npx skills add https://github.com/DingyangLyu/MatClaw --skill add-gmail-dingyanglyu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: add-gmail
Source: https://github.com/DingyangLyu/MatClaw/tree/main/.claude/skills/add-gmail
Command: npx skills add https://github.com/DingyangLyu/MatClaw --skill add-gmail-dingyanglyu

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Gmail integration with MatClaw enables automated email reading, composing, and routing within the agent, removing manual email handling.

Core Features & Use Cases

  • Tool mode: read, send, search, and draft Gmail messages from commands.
  • Channel mode: Gmail triggers agent tasks and delivers email notifications into groups.
  • OAuth setup and token persistence are provided to securely authenticate with Google.

Quick Start

Run the add-gmail skill to configure Gmail integration and follow prompts to set up OAuth credentials.

Frequently Asked Questions about add-gmail

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I integrate Gmail with an agent to automate reading and composing emails?

Gmail integration automates reading, composing, and routing emails inside the agent. This Skill configures OAuth credentials, token persistence, and Gmail API message handling to enable end-to-end automated email workflows in tool mode or as a full channel.

What is the difference between Gmail tool mode and channel mode?

Gmail tool mode lets you read, send, search, and draft messages from commands. Channel mode enables Gmail to trigger agent tasks and deliver email notifications into groups, providing deeper automated routing and activation capabilities.

How do I set up OAuth authentication for Gmail API access?

OAuth setup for Gmail API involves running the integration process and following prompts to configure Google OAuth credentials. The integration handles token persistence securely, ensuring end-to-end Google API authentication for message handling.

Can I use Gmail to trigger automated tasks and send notifications to groups?

Yes, Gmail channel mode triggers agent tasks and delivers email notifications into groups. This allows incoming emails to activate automated workflows, routing messages and responses without manual intervention.

Do I need to manually manage Gmail OAuth tokens when integrating email automation?

No, token persistence is handled automatically during OAuth setup. The integration securely stores and manages Google API credentials, ensuring continuous authenticated access for reading, composing, and routing emails.