TiendaSKILL.mdLeída en a3768d0
recipe-label-and-archive-emails
Apply Gmail labels to matching messages and archive them to keep your inbox clean.
Resumen
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
- Search for matching emails:
gws gmail users messages list --params '{"userId": "me", "q": "from:[email protected]"}' --format table - Apply a label:
gws gmail users messages modify --params '{"userId": "me", "id": "MESSAGE_ID"}' --json '{"addLabelIds": ["LABEL_ID"]}' - Archive (remove from inbox):
gws gmail users messages modify --params '{"userId": "me", "id": "MESSAGE_ID"}' --json '{"removeLabelIds": ["INBOX"]}'
Archivos 1 archivo
Instálala a mano
Deska ejecuta esto por ti, para cada agente que elijas. Para ejecutarlo tú en una terminal:
npx skills add googleworkspace/cli --skill recipe-label-and-archive-emailsMás de googleworkspace
- gws-gmailgoogleworkspaceOficialGmail: Send, read, and manage email.78.8 k instalaciones en skills.sh0
- gws-gmail-sendgoogleworkspaceOficialGmail: Send an email.72.7 k instalaciones en skills.sh0
- gws-drivegoogleworkspaceOficialGoogle Drive: Manage files, folders, and shared drives.71.8 k instalaciones en skills.sh0
- gws-sharedgoogleworkspaceOficialgws CLI: Shared patterns for authentication, global flags, and output formatting.63.4 k instalaciones en skills.sh0
- gws-calendargoogleworkspaceOficialGoogle Calendar: Manage calendars and events.58.6 k instalaciones en skills.sh0