recipe-search-and-export-emails
Find Gmail emails matching specific query conditions and export them for review, facilitating email archiving and analysis.
npx skills add https://github.com/googleworkspace/cli --skill recipe-search-and-export-emailsBefore / After Comparison
1 组Manually searching for and exporting Gmail emails is time-consuming and laborious, difficult to process in bulk, and unfavorable for email archiving, review, and subsequent analysis.
Automatically find and export eligible Gmail emails, simplifying email archiving and review processes, facilitating data analysis, and improving work efficiency.
recipe-search-and-export-emails
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
Weekly Installs619Repositorygoogleworkspace/cliGitHub Stars21.4KFirst Seen14 days agoSecurity AuditsGen Agent Trust HubPassSocketPassSnykPassInstalled oncodex603opencode602gemini-cli600cursor600github-copilot600kimi-cli599
User Reviews (0)
Write a Review
No reviews yet
Statistics
User Rating
Rate this Skill