# Recipe Draft Email From Doc > Read content from a Google Doc and use it as the body of a Gmail message. Source: https://skillsagentes.com/skills/googleworkspace/cli/recipe-draft-email-from-doc Repository: https://github.com/googleworkspace/cli Author: googleworkspace License: Apache-2.0 Updated: hace 4 meses Context cost: 18 tok installed, 197 tok once triggered, 197 tok with every bundled file Bundle: 1 file, 788 B Permissions requested: none declared ## Install ```bash npx -y skills add googleworkspace/cli --skill recipe-draft-email-from-doc --agent claude-code ``` ## What it does - Obtiene el contenido de un Google Doc con `gws docs documents get` - Copia el texto del cuerpo del documento - Envía un correo con `gws gmail +send` usando ese texto como cuerpo del mensaje ## Use it when - Necesitas convertir el contenido de un Google Doc en el cuerpo de un correo de Gmail ## What triggers it - "Toma el texto de este Google Doc y envíalo como correo por Gmail" - "Usa el contenido de este documento como cuerpo de un email a un destinatario" ## Before you install - Requiere el binario `gws` y las skills `gws-docs` y `gws-gmail` cargadas. ## Files - SKILL.md — 788 B ## SKILL.md Reproduced verbatim from googleworkspace/cli under Apache-2.0. This section is the upstream document and is in English. # 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'` --- Skills Agentes — https://skillsagentes.com/skills/googleworkspace/cli/recipe-draft-email-from-doc