安装方式
命令行安装
在项目根目录执行以下命令,完成 Skill 安装。
npx bzskills add googleworkspace/cli --skill recipe-save-email-attachments Find Gmail messages with attachments and save them to a Google Drive folder.
13k
下载量
命令行安装
在项目根目录执行以下命令,完成 Skill 安装。
npx bzskills add googleworkspace/cli --skill recipe-save-email-attachments name: recipe-save-email-attachments
description: Find Gmail messages with attachments and save them to a Google Drive folder.
metadata:
version: 0.22.5
openclaw:
category: "recipe"
domain: "productivity"
requires:
bins:
- gws
skills:
- gws-gmail
- gws-drivePREREQUISITE: Load the following skills to execute this recipe:gws-gmail,gws-drive
Find Gmail messages with attachments and save them to a Google Drive folder.
gws gmail users messages list --params '{"userId": "me", "q": "has:attachment from:client@example.com"}' --format tablegws gmail users messages get --params '{"userId": "me", "id": "MESSAGE_ID"}'gws gmail users messages attachments get --params '{"userId": "me", "messageId": "MESSAGE_ID", "id": "ATTACHMENT_ID"}'gws drive +upload --file ./attachment.pdf --parent FOLDER_ID