/recipe-save-email-to-doc
Save a Gmail message body into a Google Doc for archival or reference.
$ npx -y skills add googleworkspace/cli --skill recipe-save-email-to-doc --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/recipe-save-email-to-doc
Context preview
The summary Claude sees to decide when to auto-load this skill.
Save a Gmail message body into a Google Doc for archival or reference.
SKILL.md
recipe-save-email-to-doc.SKILL.mdname: recipe-save-email-to-doc
description: "Save a Gmail message body into a Google Doc for archival or reference."
metadata:
version: 0.22.5
openclaw:
category: "recipe"
domain: "productivity"
requires:
bins:
- gws
skills:
- gws-gmail
- gws-docsSave 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
1. Find the message: `gws gmail users messages list --params '{"userId": "me", "q": "subject:important from:boss@company.com"}' --format table` 2. Get message content: `gws gmail users messages get --params '{"userId": "me", "id": "MSG_ID"}'` 3. Create a doc with the content: `gws docs documents create --json '{"title": "Saved Email - Important Update"}'` 4. Write the email body: `gws docs +write --document-id DOC_ID --text 'From: boss@company.com Subject: Important Update
[EMAIL BODY]'`
Google Workspace CLI — one command-line tool for Drive, Gmail, Calendar, Sheets, Docs, Chat, Admin, and more. Dynamically built from Google Discovery Service. Includes AI agent skills.
Repo: googleworkspace/cli
Other skills on cli.
- /gws-admin-reports
Google Workspace Admin SDK: Audit logs and usage reports.
Open skill - /gws-calendar-agenda
Google Calendar: Show upcoming events across all calendars.
Open skill - /gws-calendar-insert
Google Calendar: Create a new event.
Open skill - /gws-calendar
Google Calendar: Manage calendars and events.
Open skill - /gws-chat-send
Google Chat: Send a message to a space.
Open skill - /gws-chat
Google Chat: Manage Chat spaces and messages.
Open skill

