From gws
Find Gmail messages with attachments and save them to a Google Drive folder.
npx claudepluginhub fakoli/fakoli-plugins --plugin gwsThis skill uses the workspace's default tool permissions.
Find Gmail messages with attachments and save them to a Google Drive folder.
Designs and optimizes AI agent action spaces, tool definitions, observation formats, error recovery, and context for higher task completion rates.
Designs, implements, and audits WCAG 2.2 AA accessible UIs for Web (ARIA/HTML5), iOS (SwiftUI traits), and Android (Compose semantics). Audits code for compliance gaps.
Compares coding agents like Claude Code and Aider on custom YAML-defined codebase tasks using git worktrees, measuring pass rate, cost, time, and consistency.
Find Gmail messages with attachments and save them to a Google Drive folder.
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.
gws gmail users messages list \
--params '{"userId": "me", "q": "has:attachment ADDITIONAL_QUERY"}' \
--fields "messages(id)" --format table
For each message, retrieve attachment metadata:
gws gmail users messages get \
--params '{"userId": "me", "id": "MESSAGE_ID"}' \
--fields "payload.parts(filename,body,mimeType)"
gws gmail users messages attachments get \
--params '{"userId": "me", "messageId": "MESSAGE_ID", "id": "ATTACHMENT_ID"}'
gws drive +upload --file ./ATTACHMENT_FILENAME --parent FOLDER_ID
Tell the user which files were saved and where.
from:client@example.com has:attachment after:2026/01/01