SkillsReviewed · googleworkspace

Save Gmail Attachments to Google Drive

Save Gmail Attachments to Google Drive is an assistant skill for people automating email filing, but it does not explain how retrieved attachments become the local files required for upload. It provides four gws commands and requires the gws-gmail and gws-drive skills.

Researched 17 Nov 2026

In short.

Save Gmail Attachments to Google Drive is an assistant skill for developers and technically comfortable users automating email filing, but its retrieval-to-local-file instructions are incomplete. The recipe connects Gmail search, message inspection, attachment retrieval and Drive upload through four gws commands. Authentication, attachment iteration and error handling are unspecified, and successful end-to-end operation has not been assessed.

Researched and written by an AI model and checked by a second AI model. How it works

Coverage includes the complete selected folder skills/recipe-save-email-attachments, represented by its sole SKILL.md file, and the repository-root LICENSE at commit cd3697e07eb520056dcf142d0c7439bbb9ba32e9. The gws implementation, gws-gmail and gws-drive dependency contents, authentication configuration and other repository files are outside scope. Command behavior, successful transfers and compatibility were not tested.

The overview

Identity

The resource is recipe-save-email-attachments in the googleworkspace/cli repository. Its metadata identifies it as a productivity recipe with version 0.22.5. The selected folder contains a SKILL.md instruction file.

The original source location is [https://github.com/googleworkspace/cli/tree/main/skills/recipe-save-email-attachments]. This report concerns the supplied snapshot at commit cd3697e07eb520056dcf142d0c7439bbb9ba32e9.

Assessment

The recipe offers a useful starting sequence for moving selected Gmail attachments into a Drive folder. Its practical value is the concrete command syntax connecting the two services.

It needs additional instructions before dependable repeated use: the attachment-retrieval command is followed by an upload of ./attachment.pdf without explaining how that file is created. Successful transfer and compatibility with an installed gws version remain unassessed.

Users

Likely users include developers and technically comfortable staff who want an assistant to file attachments from a particular sender. This audience is inferred from the command-line interface, dependency skills and identifiers that users must supply.

Beginners would need additional guidance on installing gws, authorizing access and locating message, attachment and folder identifiers.

Capabilities

The documented sequence searches Gmail for messages matching has:attachment and a sender address, retrieves message details, requests a specific attachment and uploads a local file to a specified Drive folder.

The example search uses table output. The recipe provides no scheduling, continuous inbox monitoring, bulk-processing loop or transfer-verification procedure.

Using it

Requirements

The declared requirements are the gws executable and the gws-gmail and gws-drive skills. Access to the relevant Gmail messages and permission to upload into the destination Drive folder are practical requirements inferred from the operations.

The file does not specify installation instructions, authentication methods, exact OAuth scopes, supported operating systems or a compatible gws version. Metadata version 0.22.5 does not establish the required CLI version.

Mechanism

The skill describes a sequence of CLI calls. Gmail operations use userId set to me, with a search query followed by message and attachment identifiers. The final gws drive +upload command takes a local file path and a parent folder identifier.

The intended flow passes from Gmail retrieval through a local file to Drive. How the retrieval response is converted or written into that file is unspecified.

Setup

Prepare gws and the two declared dependency skills, then establish authorized access to Gmail and Drive using their documentation. The dependency documentation is outside the supplied material.

Choose the sender filter and destination folder, and determine how message details expose the attachment identifier. Resolve the local-file saving step before treating the four commands as a complete procedure.

Example

The supplied example begins with gws gmail users messages list --params '{"userId": "me", "q": "has:attachment from:client@example.com"}' --format table. The sender address is an example to replace.

It then shows gws gmail users messages get with MESSAGE_ID and gws gmail users messages attachments get with MESSAGE_ID and ATTACHMENT_ID. The final command is gws drive +upload --file ./attachment.pdf --parent FOLDER_ID. These are documented examples, with no supplied execution results.

Assessment & evidence

Limitations

The recipe does not explain pagination, iteration over multiple messages or attachments, locating attachment IDs within message details, filename handling, duplicate detection, retries or partial failures.

It also omits the explicit retrieval-to-file step and a check that uploaded content matches the original attachment. File fidelity, supported attachment cases and end-to-end reliability remain unassessed.

Reasoning

The command sequence makes the intended task understandable and exposes the main values an operator must supply: sender, message ID, attachment ID, local path and destination folder.

Because the selected folder supplies instructions without implementation for iteration or recovery, the evidence supports using it as a starting recipe for supervised filing. It does not establish dependable unattended processing.

Alternatives

For occasional filing, manually saving an attachment and uploading it to Drive is a possible workflow alternative. For recurring work, a custom script around the same Gmail and Drive operations could explicitly handle iteration, local files and failures.

These are suggested approaches inferred from the task. The supplied evidence contains no comparison of their effort, costs or reliability.

Evidence

The skill text is available at the immutable source address [https://raw.githubusercontent.com/googleworkspace/cli/cd3697e07eb520056dcf142d0c7439bbb9ba32e9/skills/recipe-save-email-attachments/SKILL.md]. It establishes the stated purpose, dependencies and four example commands.

The accompanying licence is [https://raw.githubusercontent.com/googleworkspace/cli/cd3697e07eb520056dcf142d0c7439bbb9ba32e9/LICENSE]. Neither file supplies runtime results, benchmarks or evidence of a successful attachment transfer.

Access & freshness

Costs

The Apache 2.0 licence grants covered rights without licence royalties. That does not establish the total cost of operating the recipe.

The skill gives no pricing for Google services, storage, an assistant host or other dependencies. Operating cost and any account-specific limits are unknown.

Rights

The repository-root LICENSE supplies Apache License 2.0 terms permitting use, modification and redistribution subject to its conditions. Redistribution requires a licence copy, notices of changed files and retention of applicable source notices. Relevant NOTICE attributions must also be preserved if such a file is included.

The licence provides no general trademark permission and disclaims warranties. It does not establish rights to the emails or attachments processed by the recipe.

Freshness

The supplied snapshot was captured on 17 November 2026 at 04:42:55 UTC and pins both files to commit cd3697e07eb520056dcf142d0c7439bbb9ba32e9. The skill metadata records version 0.22.5.

The capture date does not establish the file's last modification date. Later changes and compatibility with current dependency releases are unknown.

Actions

Before adopting the recipe, consult the dependency documentation for installation, authentication and permissions. Confirm the attachment command's output format and the exact procedure for producing the local file passed to Drive upload.

Evaluate one non-sensitive attachment in a destination folder you control, checking its filename and contents after upload. For recurring use, add explicit iteration, duplicate handling, failure reporting and transfer verification. These are proposed checks; no commands were executed.

Evidence for this report

LICENSEnotice · checked 2026-11-17
skills/recipe-save-email-attachments/SKILL.mdselected · checked 2026-11-17