{"id":"422b50eb-658a-459e-8d4c-34cc33282de5","shortId":"3b6f2G","kind":"skill","title":"recipe-save-email-to-doc","tagline":"Save a Gmail message body into a Google Doc for archival or reference.","description":"# Save a Gmail Message to Google Docs\n\n> **PREREQUISITE:** Load the following skills to execute this recipe: `gws-gmail`, `gws-docs`\n\nSave a Gmail message body into a Google Doc for archival or reference.\n\n## Steps\n\n1. Find the message: `gws gmail users messages list --params '{\"userId\": \"me\", \"q\": \"subject:important from:boss@company.com\"}' --format table`\n2. Get message content: `gws gmail users messages get --params '{\"userId\": \"me\", \"id\": \"MSG_ID\"}'`\n3. Create a doc with the content: `gws docs documents create --json '{\"title\": \"Saved Email - Important Update\"}'`\n4. Write the email body: `gws docs +write --document-id DOC_ID --text 'From: boss@company.com\nSubject: Important Update\n\n[EMAIL BODY]'`","tags":["recipe","save","email","doc","cli","googleworkspace","agent-skills","ai-agent","automation","discovery-api","gemini-cli-extension","google-admin"],"capabilities":["skill","source-googleworkspace","skill-recipe-save-email-to-doc","topic-agent-skills","topic-ai-agent","topic-automation","topic-cli","topic-discovery-api","topic-gemini-cli-extension","topic-google-admin","topic-google-api","topic-google-calendar","topic-google-chat","topic-google-docs","topic-google-drive"],"categories":["cli"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/googleworkspace/cli/recipe-save-email-to-doc","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"cli":"npx skills add googleworkspace/cli","source_repo":"https://github.com/googleworkspace/cli","install_from":"skills.sh"}},"qualityScore":"0.700","qualityRationale":"deterministic score 0.70 from registry signals: · indexed on github topic:agent-skills · 26371 github stars · SKILL.md body (709 chars)","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:skill-github:v1","enrichmentVersion":1,"enrichedAt":"2026-05-18T18:52:34.853Z","embedding":null,"createdAt":"2026-04-18T20:25:15.430Z","updatedAt":"2026-05-18T18:52:34.853Z","lastSeenAt":"2026-05-18T18:52:34.853Z","tsv":"'1':56 '2':75 '3':90 '4':107 'archiv':17,52 'bodi':11,46,111,127 'boss@company.com':72,122 'content':78,96 'creat':91,100 'doc':6,15,26,41,50,93,98,113,118 'document':99,116 'document-id':115 'email':4,104,110,126 'execut':33 'find':57 'follow':30 'format':73 'get':76,83 'gmail':9,22,38,44,61,80 'googl':14,25,49 'gws':37,40,60,79,97,112 'gws-doc':39 'gws-gmail':36 'id':87,89,117,119 'import':70,105,124 'json':101 'list':64 'load':28 'messag':10,23,45,59,63,77,82 'msg':88 'param':65,84 'prerequisit':27 'q':68 'recip':2,35 'recipe-save-email-to-doc':1 'refer':19,54 'save':3,7,20,42,103 'skill':31 'skill-recipe-save-email-to-doc' 'source-googleworkspace' 'step':55 'subject':69,123 'tabl':74 'text':120 'titl':102 'topic-agent-skills' 'topic-ai-agent' 'topic-automation' 'topic-cli' 'topic-discovery-api' 'topic-gemini-cli-extension' 'topic-google-admin' 'topic-google-api' 'topic-google-calendar' 'topic-google-chat' 'topic-google-docs' 'topic-google-drive' 'updat':106,125 'user':62,81 'userid':66,85 'write':108,114","prices":[{"id":"9f3792f8-009d-4b3a-abff-8b3be177d286","listingId":"422b50eb-658a-459e-8d4c-34cc33282de5","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"googleworkspace","category":"cli","install_from":"skills.sh"},"createdAt":"2026-04-18T20:25:15.430Z"}],"sources":[{"listingId":"422b50eb-658a-459e-8d4c-34cc33282de5","source":"github","sourceId":"googleworkspace/cli/recipe-save-email-to-doc","sourceUrl":"https://github.com/googleworkspace/cli/tree/main/skills/recipe-save-email-to-doc","isPrimary":false,"firstSeenAt":"2026-04-18T21:52:42.430Z","lastSeenAt":"2026-05-18T18:52:34.853Z"},{"listingId":"422b50eb-658a-459e-8d4c-34cc33282de5","source":"skills_sh","sourceId":"googleworkspace/cli/recipe-save-email-to-doc","sourceUrl":"https://skills.sh/googleworkspace/cli/recipe-save-email-to-doc","isPrimary":true,"firstSeenAt":"2026-04-18T20:25:15.430Z","lastSeenAt":"2026-05-07T22:40:15.740Z"}],"details":{"listingId":"422b50eb-658a-459e-8d4c-34cc33282de5","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"googleworkspace","slug":"recipe-save-email-to-doc","github":{"repo":"googleworkspace/cli","stars":26371,"topics":["agent-skills","ai-agent","automation","cli","discovery-api","gemini-cli-extension","google-admin","google-api","google-calendar","google-chat","google-docs","google-drive","google-sheets","google-workspace","oauth2","rust"],"license":"apache-2.0","html_url":"https://github.com/googleworkspace/cli","pushed_at":"2026-05-12T16:46:11Z","description":"Google Workspace CLI — one command-line tool for Drive, Gmail, Calendar, Sheets, Docs, Chat, Admin, and more. Dynamically built from Google Discovery Service. Includes AI agent skills.","skill_md_sha":"5554e31d5eca77f16586f6aba571466b15a6e555","skill_md_path":"skills/recipe-save-email-to-doc/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/googleworkspace/cli/tree/main/skills/recipe-save-email-to-doc"},"layout":"multi","source":"github","category":"cli","frontmatter":{"name":"recipe-save-email-to-doc","description":"Save a Gmail message body into a Google Doc for archival or reference."},"skills_sh_url":"https://skills.sh/googleworkspace/cli/recipe-save-email-to-doc"},"updatedAt":"2026-05-18T18:52:34.853Z"}}