Skip to content
Skillpedia
Writing32k · #9239

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.md

Copy 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

Use this skill to help me: https://github.com/googleworkspace/cli/blob/main/skills/recipe-save-email-to-doc/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

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

  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]'`

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

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills