recipe-save-email-to-doc
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.
Skill link
https://github.com/googleworkspace/cli/blob/main/skills/recipe-save-email-to-doc/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Save the email from the boss with the subject 'Important Update' into a document.”
5 new skills a week. 1 minute to read.
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.
Technical 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
- #9239
- License
- Apache-2.0
- Updated
- 10/6/2026
Comments
- …
More skills from this repository
gws-admin-reports
32kHelps your agent get activity reports from Google Workspace. It collects audit and usage data.
gws-calendar-agenda
32kHelps your agent see upcoming events across all calendars. It's useful for organizing your schedule and knowing what's coming up.
gws-calendar-insert
32kLets your agent create new events in Google Calendar. It's useful for scheduling appointments and meetings.
gws-calendar
32kAllows your agent to manage calendars and events. It's useful for organizing your life and work.
Similar skills
obsidian-vault-maintainer
394kHelps your agent keep an Obsidian-friendly memory vault tidy, with working wiki links, consistent properties, and safe generated sections.
wiki-maintainer
394kHelps your agent maintain an OpenClaw memory wiki with repeatable pages, safe managed blocks, and checks for contradictions or gaps.
obsidian
394kLets your agent read, search, create, and edit Obsidian notes, tasks, links, and properties using the official Obsidian command line.