recipe-label-and-archive-emails
oleh 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"]}'
Lebih banyak skill dari Google
gws-modelarmor-sanitize-response
Google
Google Model Armor: Membersihkan respons model melalui template Model Armor.
gws-people
Google
Kelola kontak dan profil.
gws-shared
Google
CLI gws: Pola bersama untuk autentikasi, flag global, dan format keluaran.
gws-sheets
Google
Google Sheets: Membaca dan menulis spreadsheet.
gws-sheets-append
Google
Google Sheets: Menambahkan baris ke spreadsheet.
gws-sheets-read
Google
Google Sheets: Membaca nilai dari spreadsheet.
gws-slides
Google
Google Slides: Membaca dan menulis presentasi.
gws-tasks
Google
Google Tasks: Kelola daftar tugas dan tugas.