Mail Summary
/install mail-summary
name: mail-summary description: Fetch Gmail emails from the last 24h, rank by importance, summarize into bullet points, and auto-create Google Calendar events for detected meetings.
Email & Calendar Assistant Skill
Description
This skill reads Gmail emails, ranks them by importance, summarizes each email into bullet points, and creates Google Calendar events if an email contains a meeting or interview that is not already on the calendar.
Capabilities
- Read emails (read-only)
- Rank emails by importance
- Summarize emails into bullet points
- Detect meeting/interview emails
- Create Google Calendar events (only when not already added)
- Auto-refreshes Google OAuth token as needed for uninterrupted access.
Installation
Via ClawHub (recommended):
clawhub install mail-summary
Manual:
git clone https://github.com/Russidan-Nadee/mail-summary.git ~/.openclaw/workspace/skills/mail-summary
Setup Instructions (First-Time Only)
Step 1 — Get Google API credentials
- Go to Google Cloud Console
- Create a new project (or select existing one)
- In the left sidebar, go to APIs & Services → click Enable APIs and Services
- Search and enable each of the following:
- Gmail API
- Google Calendar API
- In the left sidebar, go to APIs & Services → OAuth consent screen
- Click Get Started
- Fill in App name and User support email → click Save and Continue
- Under Audience → click Add Users → add your Google email → click Save
- In the left sidebar, go to APIs & Services → Credentials
- Click Create Credentials → OAuth client ID
- Under Application type select Desktop app
- Give it a name (e.g.
Mail Summary) → click Create - Click Download JSON → you'll get a file named
client_secret_*.json
Step 2 — Connect to the agent
- Send the
client_secret_*.jsonfile to the agent as an attachment- Via Telegram: send as a file (not photo) in your Clawdbot chat
- Via Claude Desktop: drag and drop the file into the chat
- Via other platforms: attach the file the same way you attach any document
- The agent will print an authorization URL — click it to open in your browser
- Log in with your Google account and click Allow
- Your browser will redirect to a
localhostpage showing an error — this is normal - Copy the full URL from your browser address bar (starts with
http://localhost/?...) - Paste that URL back to the agent
Step 3 — Done!
The agent will confirm: "Auth complete. I can now access your Gmail and Google Calendar."
From now on just say: "Summarize today's important emails"
Configuration
This skill uses a config.yaml file in the project root for runtime configuration. You can edit this file to control timezone, retry behavior, and logging level.
Example config.yaml:
timezone: Asia/Bangkok # Timezone for calendar events (e.g. Asia/Bangkok, UTC, Asia/Tokyo)
max_retries: 5 # Max retry attempts for authentication and API calls
log_level: INFO # Logging level: DEBUG, INFO, WARNING, ERROR, CRITICAL
Agent Instructions
See
agent/instructions.mdfor full agent instructions (commands, auth setup, behavior).
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install mail-summary - 安装完成后,直接呼叫该 Skill 的名称或使用
/mail-summary触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Mail Summary 是什么?
Fetch Gmail emails from the last 24h, rank by importance, summarize into bullet points, and auto-create Google Calendar events for detected meetings. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 131 次。
如何安装 Mail Summary?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install mail-summary」即可一键安装,无需额外配置。
Mail Summary 是免费的吗?
是的,Mail Summary 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Mail Summary 支持哪些平台?
Mail Summary 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Mail Summary?
由 Russidan-Nadee(@russidan-nadee)开发并维护,当前版本 v1.1.6。