Agent skill
recipe-save-email-to-doc
Save a Gmail message body into a Google Doc for archival or reference.
Install this agent skill to your Project
npx add-skill https://github.com/googleworkspace/cli/tree/main/skills/recipe-save-email-to-doc
Metadata
Additional technical details for this skill
- version
- 0.22.5
- openclaw
-
{ "domain": "productivity", "category": "recipe", "requires": { "bins": [ "gws" ], "skills": [ "gws-gmail", "gws-docs" ] } }
SKILL.md
Save a Gmail Message to Google Docs
PREREQUISITE: Load the following skills to execute this recipe:
gws-gmail,gws-docs
Save a Gmail message body into a Google Doc for archival or reference.
Steps
- Find the message:
gws gmail users messages list --params '{"userId": "me", "q": "subject:important from:boss@company.com"}' --format table - Get message content:
gws gmail users messages get --params '{"userId": "me", "id": "MSG_ID"}' - Create a doc with the content:
gws docs documents create --json '{"title": "Saved Email - Important Update"}' - Write the email body: `gws docs +write --document-id DOC_ID --text 'From: boss@company.com Subject: Important Update
[EMAIL BODY]'`
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
gws-events-renew
Google Workspace Events: Renew/reactivate Workspace Events subscriptions.
gws-forms
Read and write Google Forms.
gws-chat
Google Chat: Manage Chat spaces and messages.
gws-modelarmor-sanitize-prompt
Google Model Armor: Sanitize a user prompt through a Model Armor template.
gws-workflow-standup-report
Google Workflow: Today's meetings + open tasks as a standup summary.
persona-team-lead
Lead a team — run standups, coordinate tasks, and communicate.
Didn't find tool you were looking for?