From google-workspace-cli
Searches Gmail for messages matching a query using gws CLI, retrieves full details by ID, and exports results to JSON. Useful for extracting and reviewing specific emails like project or client threads.
How this skill is triggered — by the user, by Claude, or both
Slash command
/google-workspace-cli:recipe-search-and-export-emailsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
> **PREREQUISITE:** Load the following skills to execute this recipe: `gws-gmail`
PREREQUISITE: Load the following skills to execute this recipe:
gws-gmail
Find Gmail messages matching a query and export them for review.
gws gmail users messages list --params '{"userId": "me", "q": "from:[email protected] after:2024/01/01"}'gws gmail users messages get --params '{"userId": "me", "id": "MSG_ID"}'gws gmail users messages list --params '{"userId": "me", "q": "label:project-x"}' --format json > project-emails.jsonnpx claudepluginhub pleaseai/claude-code-plugins --plugin google-workspaceReads and searches Gmail for the configured user via the gog CLI, with structured output and Gmail query syntax support.
Apply labels to matching Gmail messages and archive them using gws-gmail CLI commands to keep inbox clean. Prerequisite: gws-gmail skill.
Automates Gmail operations like searching, reading, sending emails, managing drafts/labels via Python CLI scripts with standalone OAuth. Requires Google Workspace.