recipe-forward-labeled-emails
от Google
Find Gmail messages with a specific label and forward them to another address.
npx skills add https://github.com/googleworkspace/cli --skill recipe-forward-labeled-emailsForward Labeled Gmail Messages
PREREQUISITE: Load the following skills to execute this recipe:
gws-gmail
Find Gmail messages with a specific label and forward them to another address.
Steps
- Find labeled messages:
gws gmail users messages list --params '{"userId": "me", "q": "label:needs-review"}' --format table - Get message content:
gws gmail users messages get --params '{"userId": "me", "id": "MSG_ID"}' - Forward via new email: `gws gmail +send --to [email protected] --subject 'FW: [Original Subject]' --body 'Forwarding for your review:
[Original Message Body]'`
Больше skills от Google
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: Управление списками задач и задачами.