recipe-draft-email-from-doc▌
googleworkspace/cli · updated Apr 8, 2026
Draft Gmail messages directly from Google Doc content without manual copying.
- ›Requires gws-docs and gws-gmail skills to be loaded
- ›Workflow: retrieve document content, extract body text, and send as email in three sequential steps
- ›Supports custom recipient, subject line, and automatic body population from the source document
1c:["$","div",null,{"className":"prose prose-invert max-w-none prose-headings:font-semibold prose-headings:tracking-tight prose-h1:text-4xl prose-h1:mb-2 prose-h2:text-2xl prose-h2:mb-2 prose-h3:text-lg prose-h3:mb-2 prose-p:text-muted-foreground prose-li:text-muted-foreground prose-code:bg-muted prose-code:text-foreground prose-code:px-1 prose-code:py-0.5 prose-code:rounded-sm prose-code:text-sm prose-code:before:content-none prose-code:after:content-none prose-pre:bg-muted prose-pre:text-foreground prose-pre:border prose-pre:border-border prose-pre:rounded-md [&_table]:!border-[color:var(--border)] [&_th]:!border-[color:var(--border)] [&_td]:!border-[color:var(--border)]","dangerouslySetInnerHTML":{"__html":"<p><strong>Draft Gmail messages directly from Google Doc content without manual copying.</strong></p>\n<ul>\n<li>Requires <code>gws-docs</code> and <code>gws-gmail</code> skills to be loaded</li>\n<li>Workflow: retrieve document content, extract body text, and send as email in three sequential steps</li>\n<li>Supports custom recipient, subject line, and automatic body population from the source document</li>\n</ul>"}}] 1d:["$","div",null,{"className":"prose prose-invert max-w-none prose-headings:font-semibold prose-headings:tracking-tight prose-h1:text-4xl prose-h1:mb-2 prose-h2:text-2xl prose-h2:mb-2 prose-h3:text-lg prose-h3:mb-2 prose-p:text-muted-foreground prose-li:text-muted-foreground prose-code:bg-muted prose-code:text-foreground prose-code:px-1 prose-code:py-0.5 prose-code:rounded-sm prose-code:text-sm prose-code:before:content-none prose-code:after:content-none prose-pre:bg-muted prose-pre:text-foreground prose-pre:border prose-pre:border-border prose-pre:rounded-md [&_table]:!border-[color:var(--border)] [&_th]:!border-[color:var(--border)] [&_td]:!border-[color:var(--border)]","dangerouslySetInnerHTML":{"__html":"<h1>Draft a Gmail Message from a Google Doc</h1>\n<blockquote>\n<p><strong>PREREQUISITE:</strong> Load the following skills to execute this recipe: <code>gws-docs</code>, <code>gws-gmail</code></p>\n</blockquote>\n<p>Read content from a Google Doc and use it as the body of a Gmail message.</p>\n<h2>Steps</h2>\n<ol>\n<li>Get the document content: <code>gws docs documents get --params '{"documentId": "DOC_ID"}'</code></li>\n<li>Copy the text from the body content</li>\n<li>Send the email: <code>gws gmail +send --to recipient@example.com --subject 'Newsletter Update' --body 'CONTENT_FROM_DOC'</code></li>\n</ol>"}}] 18:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] 16:null