Xpersona
R

Recipe Label And Archive Emails

CLAWHUB · Unverified

Apply Gmail labels to matching messages and archive them to keep your inbox clean. Skill: Recipe Label And Archive Emails Owner: googleworkspace-bot Summary: Apply Gmail labels to matching messages and archive them to keep your inbox clean. Tags: latest:1.0.12 Version history: v1.0.12 | 2026-03-31T18:36:38.906Z | auto - Updated skill version from 0.22.4 to 0.22.5 in metadata. - No other content or functional changes. v1.0.11 | 2026-03-31T18:25:16.951Z | auto - Updated version number to 0.22.4 in me

62
Rank
84
Safety
1.1k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.1K downloads reported by the source. Last updated 10/11/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 s17d07d7j6wvs7e49gkh2nncms83fh1m:recipe-label-and-archive-emails
  1. Setup complexity is classified as HIGH. You must provision dedicated cloud infrastructure or an isolated VM. Do not run this directly on your local workstation.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-googleworkspace-bot-recipe-label-and-archive-emails/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

16,393 characters of source documentation, loaded on request.

Extracted files

3 files captured from the source.

SKILL.md

---
name: recipe-label-and-archive-emails
description: "Apply Gmail labels to matching messages and archive them to keep your inbox clean."
metadata:
  version: 0.22.5
  openclaw:
    category: "recipe"
    domain: "productivity"
    requires:
      bins:
        - gws
      skills:
        - gws-gmail
---

# Label and Archive Gmail Threads

> **PREREQUISITE:** Load the following skills to execute this recipe: `gws-gmail`

Apply Gmail labels to matching messages and archive them to keep your inbox clean.

## Steps

1. Search for matching emails: `gws gmail users messages list --params '{"userId": "me", "q": "from:notifications@service.com"}' --format table`
2. Apply a label: `gws gmail users messages modify --params '{"userId": "me", "id": "MESSAGE_ID"}' --json '{"addLabelIds": ["LABEL_ID"]}'`
3. Archive (remove from inbox): `gws gmail users messages modify --params '{"userId": "me", "id": "MESSAGE_ID"}' --json '{"removeLabelIds": ["INBOX"]}'`

_meta.json

{
  "ownerId": "kn72jx596hyjxmgxfp52s71ets828hj5",
  "slug": "recipe-label-and-archive-emails",
  "version": "1.0.12",
  "publishedAt": 1774982198906
}

skill-card.md

## Description:

Apply Gmail labels to matching messages and archive them to keep your inbox clean.

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

## Publisher:

[googleworkspace-bot](https://clawhub.ai/user/googleworkspace-bot)

### License/Terms of Use:

MIT-0

## Use Case:

Users who manage Gmail inboxes use this recipe to find matching messages, apply an existing Gmail label, and archive those messages after checking the selected results.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: Messages can be labeled or archived incorrectly if the Gmail query, message ID, or label ID is wrong.

Mitigation: Review search results, message IDs, and label IDs before running modify commands; archiving removes messages from the inbox but does not delete them.

## Reference(s):

- [ClawHub skill page](https://clawhub.ai/googleworkspace-bot/skills/recipe-label-and-archive-emails)

## Skill Output:

**Output Type(s):** [Shell commands, Guidance]

**Output Format:** [Markdown with inline shell commands]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Requires gws and gws-gmail; the commands modify Gmail messages by adding labels and removing the INBOX label.]

## Skill Version(s):

1.0.12 (source: ClawHub 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 Recipe Label And Archive Emails and adjacent AI workflows.