googleworkspace/cli619 installs
recipe-search-and-export-emails
Find Gmail messages matching a query and export them for review.
How do I install this agent skill?
npx skills add https://github.com/googleworkspace/cli --skill recipe-search-and-export-emailsIs this agent skill safe to install?
- Gen Agent Trust Hubpass
This skill provides a guide for using the 'gws' tool to search and export Gmail messages. All operations are local to the environment and utilize vendor-specific tools for their intended purpose.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
What does this agent skill do?
Search and Export Emails
PREREQUISITE: Load the following skills to execute this recipe:
gws-gmail
Find Gmail messages matching a query and export them for review.
Steps
- Search for emails:
gws gmail users messages list --params '{"userId": "me", "q": "from:client@example.com after:2024/01/01"}' - Get full message:
gws gmail users messages get --params '{"userId": "me", "id": "MSG_ID"}' - Export results:
gws gmail users messages list --params '{"userId": "me", "q": "label:project-x"}' --format json > project-emails.json
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/googleworkspace/cli/recipe-search-and-export-emails">View recipe-search-and-export-emails on skillZs</a>