recipe-save-email-attachments

recipe-save-email-attachments is a skill for Claude Code from fakoli/fakoli-plugins. It costs 20 tokens per session (363 once invoked), scanned A, original, MIT.

An email-to-storage workflow that finds Gmail messages with attachments, downloads the files, and saves them in a chosen Google Drive folder.

In plain words
What is it for?
Use it to collect client documents, receipts, reports, or other email attachments in one Drive folder.
Why use it?
It removes the manual work of searching emails, downloading each attachment, and uploading the files one by one.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the gws plugin — 94 skills, 15 commands, 11 agents shipped together

Good fit Use it to collect client documents, receipts, reports, or other email attachments in one Drive folder.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/fakoli/fakoli-plugins/recipe-save-email-attachments
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add fakoli/fakoli-plugins --skill recipe-save-email-attachments
Clone the repo
git clone --depth 1 https://github.com/fakoli/fakoli-plugins

Made for: Claude Code.

Or install gws, the plugin that ships this one along with the rest of its 94 skills, 15 commands, 11 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for recipe-save-email-attachments

README.md
[![agentmods](https://agentmods.dev/badge/skills/fakoli/fakoli-plugins/recipe-save-email-attachments/github.svg)](https://agentmods.dev/skills/fakoli/fakoli-plugins/recipe-save-email-attachments)
Your own site
<a href="https://agentmods.dev/skills/fakoli/fakoli-plugins/recipe-save-email-attachments"><img src="https://agentmods.dev/badge/skills/fakoli/fakoli-plugins/recipe-save-email-attachments/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for recipe-save-email-attachments

Your own site · 80×15
<a href="https://agentmods.dev/skills/fakoli/fakoli-plugins/recipe-save-email-attachments"><img src="https://agentmods.dev/badge/skills/fakoli/fakoli-plugins/recipe-save-email-attachments.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 20 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 363 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00020 $0.00363
Opus 5 $0.00010 $0.00181
Sonnet 5 $0.00004 $0.00073
Haiku 4.5 $0.00002 $0.00036

Measured 6d ago against content hash 0e787f614aff, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

recipe-save-email-attachments scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/gws/skills/recipe-save-email-attachments/SKILL.md · 56 lines

What it actually says

Save Gmail Attachments to Google Drive

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

When to Use

Use this workflow when the user wants to extract attachments from emails and store them in Drive — e.g., saving client documents, receipts, or reports.

Workflow

1. Search for emails with attachments

gws gmail users messages list \
  --params '{"userId": "me", "q": "has:attachment ADDITIONAL_QUERY"}' \
  --fields "messages(id)" --format table

2. Get message details

For each message, retrieve attachment metadata:

gws gmail users messages get \
  --params '{"userId": "me", "id": "MESSAGE_ID"}' \
  --fields "payload.parts(filename,body,mimeType)"

3. Download attachments

gws gmail users messages attachments get \
  --params '{"userId": "me", "messageId": "MESSAGE_ID", "id": "ATTACHMENT_ID"}'

4. Upload to Drive

gws drive +upload --file ./ATTACHMENT_FILENAME --parent FOLDER_ID

5. Report results

Tell the user which files were saved and where.

Tips

  • Use specific search queries to narrow down: from:[email protected] has:attachment after:2026/01/01
  • Attachment data is base64-encoded — you may need to decode before uploading
  • For large batches, process one message at a time to avoid errors
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 56 lines · 20 tokens per session scan A 0e787f614aff

Subscribe to this mod's changes

recipe-save-email-attachments is a skill published in the GitHub repository fakoli/fakoli-plugins (4 stars, last pushed 4d ago), licensed MIT. It adds 20 tokens to every session and 363 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

fp-yoohoo

Terminal-recall mode. Reference for fp-yoohoo, the plugin that brings the terminal window to the foreground when Claude Code stops and waits on a human: a permission prompt, a question dialog, a plan to approve. Explains what it hooks, which desktops it can raise a window on, how the already-focused guard works, and…

SlashyIsTaken/fp-pluginplaza · 161 tokens

xlsx

Comprehensive spreadsheet creation, editing, and analysis with support for formulas, formatting, data analysis, and visualization. When Claude needs to work with spreadsheets (.xlsx, .xlsm, .csv, .tsv, etc) for: (1) Creating new spreadsheets with formulas and formatting, (2) Reading or analyzing data, (3) Modify…

frankxai/claude-skills-library · 96 tokens

pdf

Comprehensive PDF manipulation toolkit for extracting text and tables, creating new PDFs, merging/splitting documents, and handling forms. When Claude needs to fill in a PDF form or programmatically process, generate, or analyze PDF documents at scale.

frankxai/claude-skills-library · 50 tokens

notion

Notion workspace operations - create, read, and update pages, databases, and blocks via the Notion API.

profclaw/profclaw · 25 tokens

obsidian

Obsidian vault management - create, edit, and search markdown notes in the user's local vault.

profclaw/profclaw · 22 tokens

oracle-confidentiality

Enforce confidentiality across Oracle deliverables — pre-delivery audits, codename enforcement, and content sanitization. Use before any Oracle client handoff, when sanitizing documents, or when checking deliverables for confidential leaks.

frankxai/claude-skills-library · 49 tokens