# Send Gmail Secretary to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "gmail-secretary",
    "name": "Gmail Secretary",
    "source": "tencent",
    "type": "skill",
    "category": "效率提升",
    "sourceUrl": "https://clawhub.ai/OfficialDelta/gmail-secretary",
    "canonicalUrl": "https://clawhub.ai/OfficialDelta/gmail-secretary",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/gmail-secretary",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=gmail-secretary",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "references/voice.md",
      "scripts/apply-labels.sh",
      "scripts/build-voice-reference.sh",
      "scripts/triage-and-draft.sh"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "gmail-secretary",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T00:48:46.007Z",
      "expiresAt": "2026-05-07T00:48:46.007Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=gmail-secretary",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=gmail-secretary",
        "contentDisposition": "attachment; filename=\"gmail-secretary-1.0.27.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "gmail-secretary"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/gmail-secretary"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/gmail-secretary",
    "downloadUrl": "https://openagent3.xyz/downloads/gmail-secretary",
    "agentUrl": "https://openagent3.xyz/skills/gmail-secretary/agent",
    "manifestUrl": "https://openagent3.xyz/skills/gmail-secretary/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/gmail-secretary/agent.md"
  }
}
```
## Documentation

### Safety rules (non-negotiable)

Never send email automatically. Only create drafts + summaries.
Prefer labels over moving/deleting.
Keep the voice reference style-focused (patterns + a few short redacted snippets), not a full archive.

### Labels (user-friendly)

Use/create these labels:

Urgent
Needs Reply
Waiting On
Read Later
Receipt / Billing
School
Clubs
Mayo
Admin / Accounts

### Classification: Agent-based (Haiku)

Classification uses a Haiku LLM agent (via sessions_spawn) instead of regex.

scripts/triage-and-draft.sh fetches inbox → writes summaries to cache/gmail-inbox-summaries.json
Agent reads summaries, classifies each email, writes results to cache/gmail-triage-labels.json
scripts/apply-labels.sh reads classification results and applies Gmail labels via gog

### Agent classification prompt context:

Student at Stanton College Prep (IB/AP classes)
Clubs: FBLA, Science Fair, Medical Society, Psi Alpha, NHS
Project: Mayo Clinic cancer cell simulation
Companies (Apple, Google, Amazon, etc.) are NOT "School"
Newsletters/promos → Read Later
Account security/password/verification → Admin / Accounts

### Files

Voice reference (auto-maintained): references/voice.md
Draft queue (generated): /home/delta/.openclaw/workspace/cache/gmail-drafts.md
Triage digest (generated): /home/delta/.openclaw/workspace/cache/gmail-triage.md
Inbox summaries (intermediate): /home/delta/.openclaw/workspace/cache/gmail-inbox-summaries.json
Classification results: /home/delta/.openclaw/workspace/cache/gmail-triage-labels.json

### Scripts

Build/refresh voice reference from Sent mail:

scripts/build-voice-reference.sh (samples last 50 sent messages)


Fetch inbox + extract summaries:

scripts/triage-and-draft.sh


Apply labels from classification:

scripts/apply-labels.sh

### Workflow

Run triage-and-draft.sh — fetches inbox, extracts summaries
Agent (Haiku) classifies emails from gmail-inbox-summaries.json
Agent writes results to gmail-triage-labels.json
Run apply-labels.sh — applies labels to Gmail threads
Agent writes triage digest to cache/gmail-triage.md for nudges
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: OfficialDelta
- Version: 1.0.22
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-04-30T00:48:46.007Z
- Expires at: 2026-05-07T00:48:46.007Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/gmail-secretary)
- [Send to Agent page](https://openagent3.xyz/skills/gmail-secretary/agent)
- [JSON manifest](https://openagent3.xyz/skills/gmail-secretary/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/gmail-secretary/agent.md)
- [Download page](https://openagent3.xyz/downloads/gmail-secretary)