Home/AI Productivity & Automation/recipe-save-email-attachments
R

recipe-save-email-attachments

by @googleworkspacev
4.5(152)

Finds Gmail emails with attachments and saves these attachments to Google Drive for easy management and access.

gmail-attachmentsgoogle-driveemail-automationfile-storageproductivity-workflowsGitHub
Installation
npx skills add googleworkspace/cli --skill recipe-save-email-attachments
compare_arrows

Before / After Comparison

1
Before

Email attachments must be manually downloaded one by one and saved to Google Drive, a process that is cumbersome and time-consuming. This often leads to missing important attachments and results in low file management efficiency.

After

Automatically identifies attachments in Gmail emails and batch saves them to a specified Google Drive folder. This saves significant manual operation time, ensures secure archiving of attachments, and boosts work efficiency.

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

User Reviews (0)

Write a Review

Effect
Usability
Docs
Compatibility

No reviews yet

Statistics

Installs15.1K
Rating4.5 / 5.0
Version
Updated2026年5月23日
Comparisons1

User Rating

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

Rate this Skill

0.0

Compatible Platforms

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

Timeline

Created2026年3月16日
Last Updated2026年5月23日