Xpersona
G

Gmail Daily Briefing

CLAWHUB · Unverified

Fetch Gmail emails from the last 24h, rank by importance, summarize into bullet points, and auto-create Google Calendar events for detected meetings.

62
Rank
84
Safety
967
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 967 downloads reported by the source. Last updated 10/12/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s17249mfgtavjfjxj6anyntne983h1z2:gmail-daily-briefing
  1. Install using `clawhub skill install s17249mfgtavjfjxj6anyntne983h1z2:gmail-daily-briefing` in an isolated environment before connecting it to live workloads.
  2. No published capability contract is available yet, so validate auth and request/response behavior manually.
  3. Review the upstream CLAWHUB listing at https://clawhub.ai/russidan-nadee/gmail-daily-briefing before using production credentials.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-russidan-nadee-gmail-daily-briefing/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

25,872 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: gmail-daily-briefing
description: Fetch Gmail emails from the last 24h, rank by importance, summarize into bullet points, and auto-create Google Calendar events for detected meetings.
metadata:
  openclaw:
    requires:
      bins:
        - python
      files:
        - token.json
---

# 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)

## Installation

Via ClawHub (recommended):

```
clawhub install gmail-daily-briefing
```

Manual:

```
git clone https://github.com/Russidan-Nadee/gmail-daily-briefing.git ~/.clawdbot/skills/gmail-daily-briefing
```

## Setup Instructions (First-Time Only)

### Step 1 — Get Google API credentials

1. Go to [Google Cloud Console](https://console.cloud.google.com/)
2. Create a new project (or select existing one)
3. In the left sidebar, go to **APIs & Services** → click **Enable APIs and Services**
4. Search and enable each of the following:
   - **Gmail API**
   - **Google Calendar API**
5. 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**
6. In the left sidebar, go to **APIs & Services → Credentials**
7. Click **Create Credentials → OAuth client ID**
8. Under **Application type** select **Desktop app**
9. Give it a name (e.g. `Gmail Daily Briefing`) → click **Create**
10. Click **Download JSON** → you'll get a file named `client_secret_*.json`

### Step 2 — Connect to the agent

1. Send the `client_secret_*.json` file 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
2. The agent will print an authorization URL — click it to open in your browser
3. Log in with your Google account and click **Allow**
4. Your browser will redirect to a `localhost` page showing an error — **this is normal**
5. Copy the **full URL** from your browser address bar (starts with `http://localhost/?...`)
6. 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"**

## Agent Instructions

> See [`agent/instructions.md`](agent/instructions.md) for full agent instructions (commands, 

README.md

# Gmail Daily Briefing

An AI agent skill that reads your Gmail, ranks emails by importance, summarizes them into bullet points, and automatically creates Google Calendar events for detected meetings.

## Features

- Fetches emails from the last 24 hours
- Ranks emails by importance
- Summarizes each email into bullet points
- Detects meetings/interviews and creates Google Calendar events automatically
- Skips calendar events that already exist (no duplicates)

## Requirements

- Python 3.x
- [OpenClaw](https://openclaw.ai/) agent

## Setup Before First Use

Before running any script, ensure the Python environment is ready:

```bash
cd ~/.openclaw/workspace/skills/gmail-daily-briefing
python -m venv venv
source venv/bin/activate        # macOS/Linux
venv\Scripts\activate           # Windows
pip install -r requirements.txt
```

## Installation

Via ClawHub (recommended):

```
clawhub install gmail-daily-briefing
```

Manual:

```bash
git clone https://github.com/Russidan-Nadee/gmail-daily-briefing.git ~/.openclaw/workspace/skills/gmail-daily-briefing
```

## Setup (First-Time Only)

### Step 1 — Get Google API credentials

1. Go to [Google Cloud Console](https://console.cloud.google.com/)
2. Create a new project (or select existing one)
3. In the left sidebar, go to **APIs & Services** → click **Enable APIs and Services**
4. Search and enable:
   - **Gmail API**
   - **Google Calendar API**
5. 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**
6. In the left sidebar, go to **APIs & Services → Credentials**
7. Click **Create Credentials → OAuth client ID**
8. Under **Application type** select **Desktop app**
9. Give it a name → click **Create**
10. Click **Download JSON** → save as `client_secret_*.json`

### Step 2 — Connect to the agent

1. Send the `client_secret_*.json` file to the agent as an attachment
2. The agent will send you an authorization URL — click it
3. Log in with your Google account and click **Allow**
4. Your browser redirects to a `localhost` error page — **this is normal**
5. Copy the full URL from your browser address bar
6. Paste it back to the agent

### Step 3 — Done!

Just say: **"Summarize today's important emails"**

## Project Structure

```
gmail-daily-briefing/
├── SKILL.md                  # Skill definition for ClawHub
├── README.md                 # This file
├── requirements.txt          # Python dependencies
├── agent/
│   └── instructions.md       # Agent instructions (commands, auth, behavior)
└── scripts/
    ├── auth.py               # Internal auth module (auto-used by other scripts)
    ├── setup_auth.py         # OAuth setup (run once)
    ├── fetch_emails.py       # Fetch and display emails
    └── create_

_meta.json

{
  "ownerId": "kn71v0z967gpbnhe41k9dc9hsx83gh4s",
  "slug": "gmail-daily-briefing",
  "version": "1.1.1",
  "publishedAt": 1774468944977
}

agent/instructions.md

# Agent Instructions — Gmail Daily Briefing

## Setup Before First Use

> **The agent must run all commands below itself. Do NOT ask the user to run them.**

Before running any script, ensure the Python environment is ready:

```bash
cd ~/.openclaw/workspace/skills/gmail-daily-briefing
python -m venv venv
source venv/bin/activate        # macOS/Linux
venv\Scripts\activate           # Windows
pip install -r requirements.txt
```

## Available Commands

> **The agent must run all commands below itself. Do NOT ask the user to run them.**

- `python scripts/fetch_emails.py` — Fetch emails from the last 24 hours and print full content
- `python scripts/create_event.py --title "..." --date "YYYY-MM-DD" --time "HH:MM" [--duration 60]` — Create a Google Calendar event
- `python scripts/setup_auth.py` — Generate Google OAuth URL (Step 1 of auth setup)
- `python scripts/setup_auth.py --callback "<URL>"` — Complete auth and save token.json (Step 2 of auth setup)

## Script Roles

- **`setup_auth.py`** — Run once to complete OAuth flow and save `token.json`. Do not run again unless re-authentication is needed.
- **`auth.py`** — Internal module used automatically by `fetch_emails.py` and `create_event.py`. Loads `token.json` and refreshes it when expired. Do not run directly.

## Auth Setup (First-Time Only)

This skill requires a `token.json` file to access Gmail and Google Calendar on behalf of the user.
If `token.json` does not exist, the agent MUST complete the following setup before running any other script.

### When the user sends a `client_secret_*.json` file:

1. Write the file content to the project root as `client_secret_*.json` (preserve the original filename). The user sends this as an attachment — the agent must create the file in the project root directory before running any script.
2. Run: `python scripts/setup_auth.py`
3. Send the printed URL to the user as a clickable markdown link, with this message:
   > "Please open this link in your browser and authorize access. After you approve, your browser will redirect to a localhost page that shows an error — that's expected. Copy the full URL from the browser address bar and send it back to me."
   > [Click here to authorize](PASTE_AUTH_URL_HERE)
4. Wait for the user to send back the redirect URL (starts with `http://localhost/?...`)
5. Run: `python scripts/setup_auth.py --callback "<the URL the user sent>"`
6. Confirm to the user: "Auth complete. I can now access your Gmail and Google Calendar."

### Notes
- The redirect URL will look like: `http://localhost/?state=...&code=...&scope=...`
- The "error" page the user sees is normal — it just means no server is running at localhost, which is expected
- Once `token.json` is saved, the agent auto-refreshes it when expired — no need to repeat setup

## Input
- User request (e.g., "Summarize today's important emails")

## Output to User
For each email (sorted by importance, most important first):
`

skill-card.md

## Description:

Fetch Gmail emails from the last 24h, rank by importance, summarize into bullet points, and auto-create Google Calendar events for detected meetings.

This skill is ready for commercial/non-commercial use.

## Publisher:

[russidan-nadee](https://clawhub.ai/user/russidan-nadee)

### License/Terms of Use:

MIT-0

## Use Case:

External users and developers use this skill to have an agent fetch recent Gmail messages, summarize important email content, and create Google Calendar events for detected meetings or interviews.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The skill requires access to recent Gmail messages and permission to create Google Calendar events.

Mitigation: Install only after reviewing the requested OAuth scopes and use it only with accounts where this access is acceptable.

Risk: OAuth client secrets, callback URLs, and token.json can expose account access if mishandled.

Mitigation: Use a local OAuth flow when possible, avoid sharing secrets through chat, protect token.json, and revoke the token when access is no longer needed.

Risk: Calendar events may be created from email-derived content that is incomplete or misinterpreted.

Mitigation: Require a user-visible review step before creating events and confirm event title, date, time, and duration.

## Reference(s):

- [ClawHub Skill Page](https://clawhub.ai/russidan-nadee/skills/gmail-daily-briefing)
- [Publisher Profile](https://clawhub.ai/user/russidan-nadee)
- [OpenClaw](https://openclaw.ai/)
- [Google Cloud Console](https://console.cloud.google.com/)
- [Gmail API Read-Only OAuth Scope](https://www.googleapis.com/auth/gmail.readonly)
- [Google Calendar Events OAuth Scope](https://www.googleapis.com/auth/calendar.events)

## Skill Output:

**Output Type(s):** [Text, Markdown, Shell commands, Configuration]

**Output Format:** [Markdown summary with inline command execution results and calendar event status messages]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Requires Python, local OAuth credentials, token.json, Gmail read-only access, and Google Calendar event creation permission.]

## Skill Version(s):

1.1.1 (source: server release metadata)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to Gmail Daily Briefing and adjacent AI workflows.