recipe-label-and-archive-emails
द्वारा Google
Apply Gmail labels to matching messages and archive them to keep your inbox clean.
npx skills add https://github.com/googleworkspace/cli --skill recipe-label-and-archive-emailsLabel 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"]}'
Google की और Skills
gws-modelarmor-sanitize-response
Google
Google Model Armor: एक Model Armor टेम्पलेट के माध्यम से मॉडल प्रतिक्रिया को स्वच्छ करें।
gws-people
Google
Google People: संपर्कों और प्रोफाइलों का प्रबंधन करें।
gws-shared
Google
gws CLI: प्रमाणीकरण, वैश्विक फ़्लैग और आउटपुट स्वरूपण के लिए साझा पैटर्न।
gws-sheets
Google
Google Sheets: स्प्रेडशीट पढ़ें और लिखें।
gws-sheets-append
Google
Google Sheets: स्प्रेडशीट में एक पंक्ति जोड़ें।
gws-sheets-read
Google
Google Sheets: किसी स्प्रेडशीट से मान पढ़ें।
gws-slides
Google
Google Slides: प्रस्तुतियाँ पढ़ें और लिखें।
gws-tasks
Google
Google Tasks: कार्य सूचियों और कार्यों का प्रबंधन करें।