OpenParable
Skip to content
← Back to skills

Recipe Draft Email From Doc

Apps & Automation
recipe-draft-email-from-doc

Recipe Draft Email From Doc is an Agent Skill for apps & automation published in the googleworkspace/cli repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Read content from a Google Doc and use it as the body of a Gmail message.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/googleworkspace/cli/blob/HEAD/skills/recipe-draft-email-from-doc/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/recipe-draft-email-from-doc, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

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 [email protected] --subject 'Newsletter Update' --body 'CONTENT_FROM_DOC'