gmail-zh

gmail-zh is a skill for Claude Code, Codex from L-LesterYu/OpenClaw-hot-skills-zh. It costs 0 tokens per session (401 once invoked), scanned A, original, MIT.

A Gmail integration guide based on the official Gmail API, the interface software uses to work with Gmail accounts. It covers OAuth authorization, which lets an account grant access without sharing its password, and multiple account connections through a gateway.

In plain words
What is it for?
Use it to read messages, inspect threads, search mail, send HTML emails with attachments, manage labels, and work with drafts. It also covers connecting multiple Gmail accounts and the required API credentials.
Why use it?
It explains how an agent can work with messages while handling authentication and account selection. It brings common inbox, thread, label, search, draft, and sending operations into one documented workflow.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to read messages, inspect threads, search mail, send HTML emails with attachments, manage labels, and work with drafts. It also covers connecting multiple Gmail accounts and the required API credentials.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/l-lesteryu/openclaw-hot-skills-zh/gmail-zh
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add L-LesterYu/OpenClaw-hot-skills-zh --skill gmail-zh
Clone the repo
git clone --depth 1 https://github.com/L-LesterYu/OpenClaw-hot-skills-zh

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for gmail-zh

README.md
[![agentmods](https://agentmods.dev/badge/skills/l-lesteryu/openclaw-hot-skills-zh/gmail-zh/github.svg)](https://agentmods.dev/skills/l-lesteryu/openclaw-hot-skills-zh/gmail-zh)
Your own site
<a href="https://agentmods.dev/skills/l-lesteryu/openclaw-hot-skills-zh/gmail-zh"><img src="https://agentmods.dev/badge/skills/l-lesteryu/openclaw-hot-skills-zh/gmail-zh/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for gmail-zh

Your own site · 80×15
<a href="https://agentmods.dev/skills/l-lesteryu/openclaw-hot-skills-zh/gmail-zh"><img src="https://agentmods.dev/badge/skills/l-lesteryu/openclaw-hot-skills-zh/gmail-zh.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 401 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.00401
Opus 5 $0.00000 $0.00200
Sonnet 5 $0.00000 $0.00080
Haiku 4.5 $0.00000 $0.00040

Measured 13d ago against content hash 6f28a3489b19, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

gmail-zh scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 13d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/gmail-zh/SKILL.md · 37 lines

What it actually says

Gmail 智能助手 - Gmail API智能集成

功能简介

通过官方 Gmail API 进行收发邮件,支持 OAuth 认证的高级邮件管理功能。

技能能力

  • 邮件读取:读取收件箱邮件、已发送邮件、草稿等
  • 邮件发送:发送新邮件,支持 HTML 格式和附件
  • 线程管理:查看和管理邮件对话线程
  • 标签管理:创建和管理邮件标签、文件夹
  • 邮件搜索:按发件人、主题、时间等条件搜索邮件
  • 多账户支持:同时管理多个 Gmail 账户

安装要求

  • 需要配置 MATON_API_KEY 环境变量
  • 完成与 Google 的 OAuth 授权流程
  • 建议访问 ctrl.maton.ai 管理连接

使用方法

基本操作

  • 列出邮件:支持最大结果数限制、过滤器(如未读邮件)
  • 获取邮件详情:获取完整邮件内容或仅元数据
  • 发送邮件:BASE64 编码的邮件内容
  • 管理标签:创建、查看、删除邮件标签
  • 线程操作:查看和管理邮件对话

高级功能

  • 连接管理:在 ctrl.maton.ai 管理多个 Gmail 连接
  • 指定连接:通过 Maton-Connection 头使用特定连接
  • 网关代理:所有请求通过 Maton.ai 网关自动注入 OAuth 令牌

API 端点

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 13d ago First seen · 37 lines · 0 tokens per session scan A 6f28a3489b19

Subscribe to this mod's changes

gmail-zh is a skill published in the GitHub repository L-LesterYu/OpenClaw-hot-skills-zh (54 stars, last pushed 5mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 401 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories