recipe-draft-email-from-doc
Lets your agent read content from a Google Doc. It uses this text to write the body of a Gmail message.
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.
Example of what to ask your AI
“Draft an email using the content from the document 'Monthly Report' to my boss.”
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
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.
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-draft-email-from-docOr download just the file:
curl -L https://raw.githubusercontent.com/googleworkspace/cli/main/skills/recipe-draft-email-from-doc/SKILL.md -o SKILL.mdTechnical 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
- #6322
- 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