Daily Email Summary

v1.0.0

Fetches recent emails from Gmail and provides concise summaries. Use when the user wants to check emails, get email summaries, or review their inbox.

1· 1.9k·5 current·5 all-time
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
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.
Assessment
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.

Like a lobster shell, security has layers — review code before you run it.

Runtime requirements

OSmacOS · Linux · Windows
Binspython3
EnvGMAIL_CREDENTIALS_PATH
latestvk97531btxed1n4hg9dyvkr6mvh80c01n
1.9kdownloads
1stars
1versions
Updated 1mo ago
v1.0.0
MIT-0
macOS, Linux, Windows

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)

Comments

Loading comments...