← 返回 Skills 市场
bbdyno

Daily Email Summary

作者 bbdyno · GitHub ↗ · v1.0.0
darwinlinuxwin32 ✓ 安全检测通过
1960
总下载
1
收藏
5
当前安装
1
版本数
在 OpenClaw 中安装
/install email-summary
功能描述
Fetches recent emails from Gmail and provides concise summaries. Use when the user wants to check emails, get email summaries, or review their inbox.
使用说明 (SKILL.md)

Email Summary Skill

This skill fetches recent emails from your Gmail account and provides AI-powered summaries.

How it works

When invoked, this skill will:

  1. Authenticate with Gmail API using credentials at $GMAIL_CREDENTIALS_PATH
  2. Fetch recent emails (default: last 10 unread emails)
  3. Summarize each email with:
    • Sender and subject
    • Key points from the email body
    • Recommended actions or responses
  4. Present results in an organized, easy-to-scan format

Instructions for the Agent

When this skill is invoked:

  1. First, verify that the Gmail API credentials exist at the path specified in $GMAIL_CREDENTIALS_PATH environment variable
  2. Run the helper script located at {baseDir}/scripts/fetch_emails.py with the appropriate arguments:
    • Default: python3 {baseDir}/scripts/fetch_emails.py --count 10
    • With arguments: python3 {baseDir}/scripts/fetch_emails.py $ARGUMENTS
  3. Parse the JSON output from the script
  4. For each email, provide a concise summary including:
    • From: Sender name and email
    • Subject: Email subject line
    • Summary: 2-3 sentence summary of key points
    • Action: Suggested action (reply, archive, flag for follow-up, etc.)
  5. Present all summaries in a well-formatted list

Usage Examples

/email-summary

Fetches and summarizes the last 10 unread emails.

/email-summary --count 20

Fetches and summarizes the last 20 unread emails.

/email-summary --all

Fetches and summarizes all unread emails.

Setup Requirements

Before using this skill, ensure:

  • Gmail API credentials are configured
  • Environment variable GMAIL_CREDENTIALS_PATH points to your credentials JSON file
  • Python 3 and required packages are installed (see setup guide in README.md)
安全使用建议
This skill appears to do what it says: it reads Gmail (readonly), creates a local OAuth token file (token.json), and outputs message JSON for the agent to summarize. Before installing: ensure the GMAIL_CREDENTIALS_PATH points to a credentials JSON you created in your Google Cloud Console; be aware that the email text returned by the script will be sent to the agent/AI for summarization (privacy risk if emails contain sensitive data); verify the skill's repository/source if provenance matters (the listed homepage looks like a placeholder); install Python packages in a virtual environment; after use you can revoke the OAuth token/credentials in your Google account if needed. If you want absolute assurance, inspect scripts/fetch_emails.py locally (it is short and readable) and confirm it meets your policies before granting access.
功能分析
Type: OpenClaw Skill Name: email-summary Version: 1.0.0 The skill is designed to fetch and summarize emails from Gmail, and its implementation aligns with this stated purpose. The `scripts/fetch_emails.py` script explicitly requests `https://www.googleapis.com/auth/gmail.readonly` scope, limiting its access to read-only operations. There is no evidence of data exfiltration beyond the intended email content, no malicious execution of arbitrary commands, and no attempts at prompt injection against the agent to perform actions outside the skill's scope. All file and network access is confined to legitimate Gmail API interactions and local credential/token storage.
能力评估
Purpose & Capability
Name/description, required binary (python3), required env var (GMAIL_CREDENTIALS_PATH), included Python script, and listed Python dependencies all align with a Gmail-reading-and-summarization skill. The declared Gmail readonly scope (https://www.googleapis.com/auth/gmail.readonly) matches the stated purpose. Note: registry 'Source' is marked unknown and the homepage is a placeholder (github.com/yourusername/...), so provenance is not fully verified.
Instruction Scope
SKILL.md instructs the agent to verify GMAIL_CREDENTIALS_PATH, run scripts/fetch_emails.py, parse its JSON output, and summarize each email. The helper script only accesses the credentials path, performs OAuth, fetches unread messages, decodes bodies (truncated to 1000 chars), and returns JSON — consistent with the stated purpose. Important privacy note: email contents produced by the script are intended to be summarized by the agent/AI, which means your email text will be sent to OpenClaw's model/service for processing; SKILL.md and README mention this explicitly. The script does not reference or exfiltrate data to other endpoints.
Install Mechanism
This is instruction-only with bundled Python code and a requirements.txt listing standard google-auth/google-api packages. There is no remote download/install step, no URL shorteners, and no archive extraction. Installing the dependencies via pip is the only install action required — proportional to the task.
Credentials
Only GMAIL_CREDENTIALS_PATH is required. The script uses that env var and stores OAuth tokens as token.json next to the credentials file. The requested environment access (a path to OAuth client credentials) is appropriate and minimal for Gmail API access. The skill requests only the Gmail readonly scope, which is proportionate. No unrelated secrets or system-wide config paths are requested.
Persistence & Privilege
always is false and the skill does not request elevated or persistent platform privileges. The script writes token.json into the same directory as the credentials (expected behavior for OAuth flows). The skill does not modify other skills or global agent settings. The agent's ability to call the skill autonomously (disable-model-invocation=false) is the platform default and not sufficient alone to raise concern.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install email-summary
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /email-summary 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of the Email Summary skill. - Fetches recent emails from Gmail and provides concise, AI-powered summaries. - Summaries include sender, subject, key points, and recommended actions. - Supports custom email count and all unread emails via command-line arguments. - Requires Gmail API credentials and the `GMAIL_CREDENTIALS_PATH` environment variable. - Compatible with macOS, Linux, and Windows.
元数据
Slug email-summary
版本 1.0.0
许可证
累计安装 5
当前安装数 5
历史版本数 1
常见问题

Daily Email Summary 是什么?

Fetches recent emails from Gmail and provides concise summaries. Use when the user wants to check emails, get email summaries, or review their inbox. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1960 次。

如何安装 Daily Email Summary?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install email-summary」即可一键安装,无需额外配置。

Daily Email Summary 是免费的吗?

是的,Daily Email Summary 完全免费(开源免费),可自由下载、安装和使用。

Daily Email Summary 支持哪些平台?

Daily Email Summary 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(darwin, linux, win32)。

谁开发了 Daily Email Summary?

由 bbdyno(@bbdyno)开发并维护,当前版本 v1.0.0。

💬 留言讨论