recipe-save-email-to-doc
Helps your agent save the content of an email into a document. It's good for having an easy-to-reference record.
What it does
This assistant saves the content of a Gmail email into a Google Doc. It's useful for keeping important information or for future reference.
When to use it
- ✓When you receive an email with crucial information that needs to be saved.
- ✓To create an archive of important emails from a boss or colleague.
- ✓When you want a copy of an email outside of your inbox.
Example of what to ask your AI
“Save the email from the boss with the subject 'Important Update' into a document.”
Want more? Open the sections below.
How to use
The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.
Skill link
Ready-to-paste message
How it works
It first finds the email you want, then gets its text, and finally creates a new Google Doc to paste that text into.
Installation
Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.
In the terminal (Claude Code, Codex, Cursor), in your project folder:
npx skills add googleworkspace/cli --skill recipe-save-email-to-docOr download just the file:
curl -L https://raw.githubusercontent.com/googleworkspace/cli/main/skills/recipe-save-email-to-doc/SKILL.md -o SKILL.mdTechnical content (original SKILL.md)
Original text by the author, straight from GitHub.
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]'`
FAQ
Do I need to have Gmail and Google Docs installed?
Yes, you need to have the Gmail and Google Docs tools ready to use.
Can I choose the document name?
Yes, the assistant can create a default name, but you can ask it to use a different one.
Does it save attachments too?
No, this assistant only saves the text from the email body.
Details
Original description by the author
Save a Gmail message body into a Google Doc for archival or reference.
repo: googleworkspace/cli
Popularity
- GitHub stars
- 32k
- Ranking position
- #6337
- License
- Apache-2.0
- Updated
- 10/6/2026
Comments
- …
More skills from this repository
gws-admin-reports
Helps your agent get activity reports from Google Workspace. It collects audit and usage data.
googleworkspace/cli
gws-calendar-agenda
Helps your agent see upcoming events across all calendars. It's useful for organizing your schedule and knowing what's coming up.
googleworkspace/cli
gws-calendar-insert
Lets your agent create new events in Google Calendar. It's useful for scheduling appointments and meetings.
googleworkspace/cli
gws-calendar
Allows your agent to manage calendars and events. It's useful for organizing your life and work.
googleworkspace/cli
Similar skills
intent-driven-development
Helps your agent turn ideas into clear, testable plans. Defines criteria to ensure changes are made correctly and safely.
affaan-m/ECC
product-capability
Guides your agent in turning product ideas into clear plans. It defines what needs to be done, the limits, and decisions before development.
affaan-m/ECC
article-writing
Writes long-form content like articles, guides, and blog posts with a unique style. It's useful when you need well-written texts with a consistent voice and credibility.
affaan-m/ECC