{"id":"ae19908b-9684-4f43-a026-b8e76db09e3a","shortId":"whf5em","kind":"skill","title":"Recipe Label And Archive Emails","tagline":"Cli skill by Googleworkspace","description":"# Label and Archive Gmail Threads\n\n> **PREREQUISITE:** Load the following skills to execute this recipe: `gws-gmail`\n\nApply Gmail labels to matching messages and archive them to keep your inbox clean.\n\n## Steps\n\n1. Search for matching emails: `gws gmail users messages list --params '{\"userId\": \"me\", \"q\": \"from:notifications@service.com\"}' --format table`\n2. Apply a label: `gws gmail users messages modify --params '{\"userId\": \"me\", \"id\": \"MESSAGE_ID\"}' --json '{\"addLabelIds\": [\"LABEL_ID\"]}'`\n3. Archive (remove from inbox): `gws gmail users messages modify --params '{\"userId\": \"me\", \"id\": \"MESSAGE_ID\"}' --json '{\"removeLabelIds\": [\"INBOX\"]}'`","tags":["recipe","label","and","archive","emails","cli","googleworkspace"],"capabilities":["skill","source-googleworkspace","category-cli"],"categories":["cli"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/googleworkspace/cli/recipe-label-and-archive-emails","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"install_from":"skills.sh"}},"qualityScore":"0.300","qualityRationale":"deterministic score 0.30 from registry signals: · indexed on skills.sh · published under googleworkspace/cli","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:skill:v1","enrichmentVersion":1,"enrichedAt":"2026-04-22T05:40:14.770Z","embedding":null,"createdAt":"2026-04-18T20:25:16.048Z","updatedAt":"2026-04-22T05:40:14.770Z","lastSeenAt":"2026-04-22T05:40:14.770Z","tsv":"'1':42 '2':60 '3':79 'addlabelid':76 'appli':27,61 'archiv':4,12,34,80 'category-cli' 'clean':40 'cli':6 'email':5,46 'execut':21 'follow':18 'format':58 'gmail':13,26,28,48,65,85 'googleworkspac':9 'gws':25,47,64,84 'gws-gmail':24 'id':72,74,78,92,94 'inbox':39,83,97 'json':75,95 'keep':37 'label':2,10,29,63,77 'list':51 'load':16 'match':31,45 'messag':32,50,67,73,87,93 'modifi':68,88 'notifications@service.com':57 'param':52,69,89 'prerequisit':15 'q':55 'recip':1,23 'remov':81 'removelabelid':96 'search':43 'skill':7,19 'source-googleworkspace' 'step':41 'tabl':59 'thread':14 'user':49,66,86 'userid':53,70,90","prices":[{"id":"9d3aed87-bed4-4173-bac7-4549dcdea866","listingId":"ae19908b-9684-4f43-a026-b8e76db09e3a","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"googleworkspace","category":"cli","install_from":"skills.sh"},"createdAt":"2026-04-18T20:25:16.048Z"}],"sources":[{"listingId":"ae19908b-9684-4f43-a026-b8e76db09e3a","source":"github","sourceId":"googleworkspace/cli/recipe-label-and-archive-emails","sourceUrl":"https://github.com/googleworkspace/cli/tree/main/skills/recipe-label-and-archive-emails","isPrimary":false,"firstSeenAt":"2026-04-18T21:52:36.301Z","lastSeenAt":"2026-04-22T00:52:25.452Z"},{"listingId":"ae19908b-9684-4f43-a026-b8e76db09e3a","source":"skills_sh","sourceId":"googleworkspace/cli/recipe-label-and-archive-emails","sourceUrl":"https://skills.sh/googleworkspace/cli/recipe-label-and-archive-emails","isPrimary":true,"firstSeenAt":"2026-04-18T20:25:16.048Z","lastSeenAt":"2026-04-22T05:40:14.770Z"}],"details":{"listingId":"ae19908b-9684-4f43-a026-b8e76db09e3a","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"googleworkspace","slug":"recipe-label-and-archive-emails","source":"skills_sh","category":"cli","skills_sh_url":"https://skills.sh/googleworkspace/cli/recipe-label-and-archive-emails"},"updatedAt":"2026-04-22T05:40:14.770Z"}}