recipe-save-email-attachments by googleworkspace/cli
npx skills add https://github.com/googleworkspace/cli --skill recipe-save-email-attachments前提条件: 执行此配方前,请加载以下技能:
gws-gmail、gws-drive
查找带有附件的 Gmail 邮件,并将其保存到 Google Drive 文件夹。
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广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
每周安装量
5.9K
代码仓库
GitHub 星标数
22.5K
首次出现
2026年3月4日
安全审计
安装于
codex5.7K
opencode5.7K
gemini-cli5.7K
cursor5.7K
github-copilot5.7K
kimi-cli5.7K
PREREQUISITE: 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_IDWeekly Installs
5.9K
Repository
GitHub Stars
22.5K
First Seen
Mar 4, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
codex5.7K
opencode5.7K
gemini-cli5.7K
cursor5.7K
github-copilot5.7K
kimi-cli5.7K
83,400 周安装