recipe-save-email-attachments
Find Gmail messages with attachments and save them to a Google Drive folder.
来源信息
- 仓库
- googleworkspace/cli
- 最近来源活动
- 2026年3月31日 18:32
- 检测到的 SKILL.md 语言
- 英语
- 星标
- 31,190
- 分支
- 1,854
安装方式
默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。
检查来源文件
决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。
正在显示 SKILL.md
SKILL.md
来源说明 · 只读预览- 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":"[Truncated]","skills":"[Truncated]"}}}
# Save Gmail Attachments to Google Drive
> **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.
## Steps
1. Search for emails with attachments: `gws gmail users messages list --params '{"userId": "me", "q": "has:attachment from:client@example.com"}' --format table`
2. Get message details: `gws gmail users messages get --params '{"userId": "me", "id": "MESSAGE_ID"}'`
3. Download attachment: `gws gmail users messages attachments get --params '{"userId": "me", "messageId": "MESSAGE_ID", "id": "ATTACHMENT_ID"}'`
4. Upload to Drive folder: `gws drive +upload --file ./attachment.pdf --parent FOLDER_ID`
在 GitHub 查看