Recipe Save Email Attachments

Find Gmail messages with attachments and save them to a Google Drive folder.

32,385 stars 1,999 forksProductivity & Notes

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add googleworkspace/cli --skill recipe-save-email-attachments
Manual install
git clone --depth 1 https://github.com/googleworkspace/cli.git /tmp/cli
mkdir -p ~/.claude/skills
cp -r /tmp/cli/skills/recipe-save-email-attachments ~/.claude/skills/recipe-save-email-attachments

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the 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`
Read the full skill on GitHub

Details

Skill name
recipe-save-email-attachments
Path
skills/recipe-save-email-attachments/SKILL.md
License
Apache-2.0
Repo updated
3 November 2026

FAQ

What does the Recipe Save Email Attachments skill do?

Find Gmail messages with attachments and save them to a Google Drive folder.

How do I install the Recipe Save Email Attachments skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add googleworkspace/cli --skill recipe-save-email-attachments. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Recipe Save Email Attachments popular?

It lives in googleworkspace/cli, which has 32,385 GitHub stars and 1,999 forks, and is included in 2 curated skill lists.

Related skills

Browse the most popular Claude skills, all productivity & notes skills, or write your own with the skills generator.