googleworkspace avatar

Recipe Draft Email From Doc

The recipe-draft-email-from-doc skill reads content from a Google Doc and automatically populates it as the body of a Gmail draft or sent message, streamlining workflows for users who compose emails in Docs. It solves the inefficiency of copying text between Google Workspace applications by automating the transfer of document content to Gmail. The skill requires the gws-docs and gws-gmail skills to function and is designed for productivity-focused users managing Google Workspace accounts.

skills.sh installs
32.3K
GitHub stars
32.2K
last updated
Aug 21, 2026

Install

$ npx -y skills add googleworkspace/cli --skill recipe-draft-email-from-doc --agent claude-code

Installs into .claude/skills of the current project.

Files

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

  1. Get the document content: gws docs documents get --params '{"documentId": "DOC_ID"}'
  2. Copy the text from the body content
  3. Send the email: gws gmail +send --to recipient@example.com --subject 'Newsletter Update' --body 'CONTENT_FROM_DOC'

Sponsors

Details

Repository
github.com/googleworkspace/cli
Categories
Documentation, CLI & Terminal, Office & Documents

More from googleworkspace/cli

All 113
1github avatardocumentation-writergithub/awesome-copilotDiátaxis Documentation Expert. An expert technical writer specializing in creating high-quality software documentation, guided by the principles and structure o28.4Kskills.sh installs
2github avatarcreate-readmegithub/awesome-copilotCreate a README.md file for the project19.5Kskills.sh installs
3backnotprop avatarplannotator-visual-explainerbacknotprop/plannotatorGenerate self-contained HTML visualizations with Plannotator theming. Use for implementation plans, PR explainers, architecture diagrams, data tables, slide dec13.9Kskills.sh installs
4tw93 avatarlearntw93/wazaRuns a six-phase research workflow that turns unfamiliar domains, source bundles, or collected material into publish-ready output. Use when users ask in any lan13.5Kskills.sh installs
5github avatarcomment-code-generate-a-tutorialgithub/awesome-copilotTransform this Python script into a polished, beginner-friendly project by refactoring the code, adding clear instructional comments, and generating a complete 8.9Kskills.sh installs
6inferen-sh avatarvideo-prompting-guideinferen-sh/skills6.3Kskills.sh installs