How to install recipe-search-and-export-emails
npx skills add null --skill recipe-search-and-export-emailsClaude Code
Cursor
Windsurf
Cline
Full instructions (SKILL.md)
Source of truth, from googleworkspace/cli.
name: recipe-search-and-export-emails version: 1.0.0 description: "Find Gmail messages matching a query and export them for review." metadata: openclaw: category: "recipe" domain: "productivity" requires: bins: ["gws"] skills: ["gws-gmail"]
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
Related skills
More from googleworkspace/cli and the wider catalog.
RE
recipe-send-personalized-emails
googleworkspace/cli
Read recipient data from Google Sheets and send personalized Gmail messages to each row.
635 installsAudited
RE
recipe-send-team-announcement
googleworkspace/cli
Send team announcements simultaneously via Gmail and Google Chat.
17k installsAudited
RE
recipe-share-doc-and-notify
googleworkspace/cli
Share Google Docs with collaborators and notify them via email in one workflow.
18k installsAudited
RE
recipe-share-event-materials
googleworkspace/cli
Share Google Drive files with all attendees of a Google Calendar event.
17k installsAudited
RE
recipe-share-folder-with-team
googleworkspace/cli
Share Google Drive folders with team members as editors or viewers.
18k installsAudited
RE
recipe-sync-contacts-to-sheet
googleworkspace/cli
Export Google Contacts directory to a Google Sheets spreadsheet.
18k installs