gws-admin-reports
Google Workspace Admin SDK: Audit logs and usage reports.
Find Gmail messages with attachments and save them to a Google Drive folder.
$ npx -y skills add googleworkspace/cli --skill recipe-save-email-attachments --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/recipe-save-email-attachmentsContext preview
The summary Claude sees to decide when to auto-load this skill.
Find Gmail messages with attachments and save them to a Google Drive folder.
name: recipe-save-email-attachments
description: "Find Gmail messages with attachments and save them to a Google Drive folder."
metadata:
version: 0.22.5
openclaw:
category: "recipe"
domain: "productivity"
requires:
bins:
- gws
skills:
- gws-gmail
- gws-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.
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`
Google Workspace CLI — one command-line tool for Drive, Gmail, Calendar, Sheets, Docs, Chat, Admin, and more. Dynamically built from Google Discovery Service. Includes AI agent skills.
Repo: googleworkspace/cli
Google Workspace Admin SDK: Audit logs and usage reports.
Google Calendar: Show upcoming events across all calendars.