---
title: "Save Email to Doc"
type: skill
url: https://www.sundaebar.ai/skill/save-email-to-doc
slug: save-email-to-doc
price: free
creator: "Google Workspace CLI"
---

# Save Email to Doc

Save Email to Doc is an agent skill on sundae_bar.

Archive important email threads into Google Docs so approvals, directives, and decisions stay searchable outside the inbox.

## Summary

Archive a Gmail message into a Google Doc so approvals and directives stay searchable outside the inbox. Filter by subject or sender using Gmail search, and capture body plus From and Subject headers, but it won’t pull attachments or full threads.

## Tags

- Scope: Task
- For: Any team
- Works with: Gmail, Google Docs
- Does: Automate

## Install

```sh
npx @sundaebar/cli install save-email-to-doc
```

Manifest and file URLs: https://www.sundaebar.ai/api/skills/save-email-to-doc/download

## SKILL.md

```markdown
---
name: 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-docs
---

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

## Links

- Page: https://www.sundaebar.ai/skill/save-email-to-doc
- JSON: https://www.sundaebar.ai/api/products/save-email-to-doc/public
- Markdown: https://www.sundaebar.ai/skill/save-email-to-doc.md
