recipe-draft-email-from-doc
What it does
This tool takes text from a Google Doc and uses it to write a draft email in Gmail. It's like copy-pasting, but automated.
When to use it
- ✓When you have long text in a document and want to send it via email.
- ✓To create drafts of newsletters or announcements from notes.
- ✓If you need to quickly email the content of a report or article.
Skill link
https://github.com/googleworkspace/cli/blob/main/skills/recipe-draft-email-from-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
“Draft an email using the content from the document 'Monthly Report' to my boss.”
5 new skills a week. 1 minute to read.
How it works
The tool first reads the content from the document you specify. Then, it copies that text and inserts it as the body of a new Gmail message, ready for you to review and send.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Draft a Gmail Message from a Google Doc
PREREQUISITE: Load the following skills to execute this recipe:
gws-docs,gws-gmail
Read content from a Google Doc and use it as the body of a Gmail message.
Steps
- Get the document content:
gws docs documents get --params '{"documentId": "DOC_ID"}' - Copy the text from the body content
- Send the email:
gws gmail +send --to recipient@example.com --subject 'Newsletter Update' --body 'CONTENT_FROM_DOC'
FAQ
Do I need to have both Google Docs and Gmail open?
No, you just need access to them. The tool handles the communication between them for you.
Can I choose who the email is sent to?
Yes, you can specify the recipient, subject, and body of the email when using the tool.
What happens if the document is very long?
The tool will try to copy all the content. If it's excessively long, there might be limitations depending on Gmail.
Details
Original description by the author
Read content from a Google Doc and use it as the body of a Gmail message.
repo: googleworkspace/cli
Popularity
- GitHub stars
- 32k
- Ranking position
- #9224
- 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.