AGENT SKILL

recipe-label-and-archive-emails

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

License 许可
MIT
所属仓库
S3YED/appie-kit
最近更新
2026-08-27
Stars
★ 14
Forks
3

01 前言 Front Matter

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

03 SKILL.md 正文

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"]}'

04 同仓库更多 Skills