首页/AI 效率与自动化/recipe-save-email-attachments
R

recipe-save-email-attachments

by @googleworkspacev
4.5(152)

查找带有附件的Gmail邮件,并将这些附件保存到Google云端硬盘中,便于管理和访问。

gmail-attachmentsgoogle-driveemail-automationfile-storageproductivity-workflowsGitHub
安装方式
npx skills add googleworkspace/cli --skill recipe-save-email-attachments
compare_arrows

Before / After 效果对比

1
使用前

邮件附件需要手动逐个下载并保存到Google Drive,操作繁琐且耗时。容易遗漏重要附件,文件管理效率低下。

使用后

自动识别Gmail邮件中的附件,并批量保存到指定的Google Drive文件夹。节省大量手动操作时间,确保附件安全归档,提升工作效率。

SKILL.md

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

用户评价 (0)

发表评价

效果
易用性
文档
兼容性

暂无评价

统计数据

安装量15.1K
评分4.5 / 5.0
版本
更新日期2026年5月23日
对比案例1 组

用户评分

4.5(152)
5
23%
4
52%
3
23%
2
2%
1
0%

为此 Skill 评分

0.0

兼容平台

🔧Claude Code
🔧OpenClaw
🔧OpenCode
🔧Codex
🔧Gemini CLI
🔧GitHub Copilot
🔧Amp
🔧Kimi CLI

时间线

创建2026年3月16日
最后更新2026年5月23日