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
recipe-search-and-export-emails
安装
npx skills add https://github.com/googleworkspace/cli --skill recipe-search-and-export-emails