[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-google-workspace-recipe-save-email-to-doc":3,"mdc-uzmv5q-key":48,"related-repo-google-workspace-recipe-save-email-to-doc":176,"related-org-google-workspace-recipe-save-email-to-doc":262},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":12,"stars":24,"repoUrl":25,"updatedAt":26,"license":27,"forks":28,"topics":29,"repo":43,"sourceUrl":46,"mdContent":47},"recipe-save-email-to-doc","save Gmail messages to Google Docs","Save a Gmail message body into a Google Doc for archival or reference.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},"google-workspace","Google Workspace","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fgoogle-workspace.png","googleworkspace",[13,17,20,21],{"name":14,"slug":15,"type":16},"Gmail","gmail","tag",{"name":18,"slug":19,"type":16},"Automation","automation",{"name":9,"slug":8,"type":16},{"name":22,"slug":23,"type":16},"Google Docs","google-docs",29614,"https:\u002F\u002Fgithub.com\u002Fgoogleworkspace\u002Fcli","2026-07-12T08:24:36.995917",null,1717,[30,31,19,32,33,34,35,36,37,38,23,39,40,8,41,42],"agent-skills","ai-agent","cli","discovery-api","gemini-cli-extension","google-admin","google-api","google-calendar","google-chat","google-drive","google-sheets","oauth2","rust",{"repoUrl":25,"stars":24,"forks":28,"topics":44,"description":45},[30,31,19,32,33,34,35,36,37,38,23,39,40,8,41,42],"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.","https:\u002F\u002Fgithub.com\u002Fgoogleworkspace\u002Fcli\u002Ftree\u002FHEAD\u002Fskills\u002Frecipe-save-email-to-doc","---\nname: recipe-save-email-to-doc\ndescription: \"Save a Gmail message body into a Google Doc for archival or reference.\"\nmetadata:\n  version: 0.22.5\n  openclaw:\n    category: \"recipe\"\n    domain: \"productivity\"\n    requires:\n      bins:\n        - gws\n      skills:\n        - gws-gmail\n        - gws-docs\n---\n\n# 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]'`\n\n",{"data":49,"body":61},{"name":4,"description":6,"metadata":50},{"version":51,"openclaw":52},"0.22.5",{"category":53,"domain":54,"requires":55},"recipe","productivity",{"bins":56,"skills":58},[57],"gws",[59,60],"gws-gmail","gws-docs",{"type":62,"children":63},"root",[64,73,102,106,113,165],{"type":65,"tag":66,"props":67,"children":69},"element","h1",{"id":68},"save-a-gmail-message-to-google-docs",[70],{"type":71,"value":72},"text","Save a Gmail Message to Google Docs",{"type":65,"tag":74,"props":75,"children":76},"blockquote",{},[77],{"type":65,"tag":78,"props":79,"children":80},"p",{},[81,87,89,95,97],{"type":65,"tag":82,"props":83,"children":84},"strong",{},[85],{"type":71,"value":86},"PREREQUISITE:",{"type":71,"value":88}," Load the following skills to execute this recipe: ",{"type":65,"tag":90,"props":91,"children":93},"code",{"className":92},[],[94],{"type":71,"value":59},{"type":71,"value":96},", ",{"type":65,"tag":90,"props":98,"children":100},{"className":99},[],[101],{"type":71,"value":60},{"type":65,"tag":78,"props":103,"children":104},{},[105],{"type":71,"value":6},{"type":65,"tag":107,"props":108,"children":110},"h2",{"id":109},"steps",[111],{"type":71,"value":112},"Steps",{"type":65,"tag":114,"props":115,"children":116},"ol",{},[117,129,140,151],{"type":65,"tag":118,"props":119,"children":120},"li",{},[121,123],{"type":71,"value":122},"Find the message: ",{"type":65,"tag":90,"props":124,"children":126},{"className":125},[],[127],{"type":71,"value":128},"gws gmail users messages list --params '{\"userId\": \"me\", \"q\": \"subject:important from:boss@company.com\"}' --format table",{"type":65,"tag":118,"props":130,"children":131},{},[132,134],{"type":71,"value":133},"Get message content: ",{"type":65,"tag":90,"props":135,"children":137},{"className":136},[],[138],{"type":71,"value":139},"gws gmail users messages get --params '{\"userId\": \"me\", \"id\": \"MSG_ID\"}'",{"type":65,"tag":118,"props":141,"children":142},{},[143,145],{"type":71,"value":144},"Create a doc with the content: ",{"type":65,"tag":90,"props":146,"children":148},{"className":147},[],[149],{"type":71,"value":150},"gws docs documents create --json '{\"title\": \"Saved Email - Important Update\"}'",{"type":65,"tag":118,"props":152,"children":153},{},[154,156,163],{"type":71,"value":155},"Write the email body: `gws docs +write --document-id DOC_ID --text 'From: ",{"type":65,"tag":157,"props":158,"children":160},"a",{"href":159},"mailto:boss@company.com",[161],{"type":71,"value":162},"boss@company.com",{"type":71,"value":164},"\nSubject: Important Update",{"type":65,"tag":78,"props":166,"children":167},{},[168,174],{"type":65,"tag":169,"props":170,"children":171},"span",{},[172],{"type":71,"value":173},"EMAIL BODY",{"type":71,"value":175},"'`",{"items":177,"total":261},[178,195,208,220,230,241,250],{"slug":179,"name":179,"fn":180,"description":181,"org":182,"tags":183,"stars":24,"repoUrl":25,"updatedAt":194},"gws-admin-reports","generate Google Workspace audit and usage reports","Google Workspace Admin SDK: Audit logs and usage reports.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[184,187,188,191],{"name":185,"slug":186,"type":16},"Audit","audit",{"name":9,"slug":8,"type":16},{"name":189,"slug":190,"type":16},"Logs","logs",{"name":192,"slug":193,"type":16},"Reporting","reporting","2026-07-12T08:26:31.062227",{"slug":196,"name":196,"fn":197,"description":198,"org":199,"tags":200,"stars":24,"repoUrl":25,"updatedAt":207},"gws-calendar","manage Google Calendar events and schedules","Google Calendar: Manage calendars and events.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[201,203,204],{"name":202,"slug":37,"type":16},"Google Calendar",{"name":9,"slug":8,"type":16},{"name":205,"slug":206,"type":16},"Scheduling","scheduling","2026-07-12T08:24:59.616333",{"slug":209,"name":209,"fn":210,"description":211,"org":212,"tags":213,"stars":24,"repoUrl":25,"updatedAt":219},"gws-calendar-agenda","show upcoming Google Calendar events","Google Calendar: Show upcoming events across all calendars.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[214,215,216],{"name":202,"slug":37,"type":16},{"name":9,"slug":8,"type":16},{"name":217,"slug":218,"type":16},"Meetings","meetings","2026-07-12T08:25:10.888894",{"slug":221,"name":221,"fn":222,"description":223,"org":224,"tags":225,"stars":24,"repoUrl":25,"updatedAt":229},"gws-calendar-insert","create Google Calendar events","Google Calendar: Create a new event.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[226,227,228],{"name":202,"slug":37,"type":16},{"name":9,"slug":8,"type":16},{"name":205,"slug":206,"type":16},"2026-07-12T08:25:09.604012",{"slug":231,"name":231,"fn":232,"description":233,"org":234,"tags":235,"stars":24,"repoUrl":25,"updatedAt":240},"gws-chat","manage Google Chat spaces and messages","Google Chat: Manage Chat spaces and messages.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[236,237],{"name":9,"slug":8,"type":16},{"name":238,"slug":239,"type":16},"Messaging","messaging","2026-07-12T08:26:10.121585",{"slug":242,"name":242,"fn":243,"description":244,"org":245,"tags":246,"stars":24,"repoUrl":25,"updatedAt":249},"gws-chat-send","send messages to Google Chat spaces","Google Chat: Send a message to a space.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[247,248],{"name":9,"slug":8,"type":16},{"name":238,"slug":239,"type":16},"2026-07-12T08:24:45.761728",{"slug":251,"name":251,"fn":252,"description":253,"org":254,"tags":255,"stars":24,"repoUrl":25,"updatedAt":260},"gws-classroom","manage Google Classroom rosters and coursework","Google Classroom: Manage classes, rosters, and coursework.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[256,259],{"name":257,"slug":258,"type":16},"Education","education",{"name":9,"slug":8,"type":16},"2026-07-12T08:25:00.846861",95,{"items":263,"total":261},[264,271,277,283,289,294,299,304,315,328,341,354],{"slug":179,"name":179,"fn":180,"description":181,"org":265,"tags":266,"stars":24,"repoUrl":25,"updatedAt":194},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[267,268,269,270],{"name":185,"slug":186,"type":16},{"name":9,"slug":8,"type":16},{"name":189,"slug":190,"type":16},{"name":192,"slug":193,"type":16},{"slug":196,"name":196,"fn":197,"description":198,"org":272,"tags":273,"stars":24,"repoUrl":25,"updatedAt":207},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[274,275,276],{"name":202,"slug":37,"type":16},{"name":9,"slug":8,"type":16},{"name":205,"slug":206,"type":16},{"slug":209,"name":209,"fn":210,"description":211,"org":278,"tags":279,"stars":24,"repoUrl":25,"updatedAt":219},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[280,281,282],{"name":202,"slug":37,"type":16},{"name":9,"slug":8,"type":16},{"name":217,"slug":218,"type":16},{"slug":221,"name":221,"fn":222,"description":223,"org":284,"tags":285,"stars":24,"repoUrl":25,"updatedAt":229},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[286,287,288],{"name":202,"slug":37,"type":16},{"name":9,"slug":8,"type":16},{"name":205,"slug":206,"type":16},{"slug":231,"name":231,"fn":232,"description":233,"org":290,"tags":291,"stars":24,"repoUrl":25,"updatedAt":240},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[292,293],{"name":9,"slug":8,"type":16},{"name":238,"slug":239,"type":16},{"slug":242,"name":242,"fn":243,"description":244,"org":295,"tags":296,"stars":24,"repoUrl":25,"updatedAt":249},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[297,298],{"name":9,"slug":8,"type":16},{"name":238,"slug":239,"type":16},{"slug":251,"name":251,"fn":252,"description":253,"org":300,"tags":301,"stars":24,"repoUrl":25,"updatedAt":260},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[302,303],{"name":257,"slug":258,"type":16},{"name":9,"slug":8,"type":16},{"slug":60,"name":60,"fn":305,"description":306,"org":307,"tags":308,"stars":24,"repoUrl":25,"updatedAt":314},"read and write Google Docs","Read and write Google Docs.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[309,312,313],{"name":310,"slug":311,"type":16},"Documents","documents",{"name":22,"slug":23,"type":16},{"name":9,"slug":8,"type":16},"2026-07-12T08:26:07.645598",{"slug":316,"name":316,"fn":317,"description":318,"org":319,"tags":320,"stars":24,"repoUrl":25,"updatedAt":327},"gws-docs-write","append text to Google Docs","Google Docs: Append text to a document.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[321,322,323,324],{"name":310,"slug":311,"type":16},{"name":22,"slug":23,"type":16},{"name":9,"slug":8,"type":16},{"name":325,"slug":326,"type":16},"Writing","writing","2026-07-12T08:26:22.261687",{"slug":329,"name":329,"fn":330,"description":331,"org":332,"tags":333,"stars":24,"repoUrl":25,"updatedAt":340},"gws-drive","manage files in Google Drive","Google Drive: Manage files, folders, and shared drives.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[334,337,339],{"name":335,"slug":336,"type":16},"File Storage","file-storage",{"name":338,"slug":39,"type":16},"Google Drive",{"name":9,"slug":8,"type":16},"2026-07-12T08:24:42.025037",{"slug":342,"name":342,"fn":343,"description":344,"org":345,"tags":346,"stars":24,"repoUrl":25,"updatedAt":353},"gws-drive-upload","upload files to Google Drive","Google Drive: Upload a file with automatic metadata.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[347,348,351,352],{"name":335,"slug":336,"type":16},{"name":349,"slug":350,"type":16},"File Uploads","file-uploads",{"name":338,"slug":39,"type":16},{"name":9,"slug":8,"type":16},"2026-07-12T08:25:02.071018",{"slug":355,"name":355,"fn":356,"description":357,"org":358,"tags":359,"stars":24,"repoUrl":25,"updatedAt":365},"gws-events","subscribe to Google Workspace events","Subscribe to Google Workspace events.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[360,361,362],{"name":18,"slug":19,"type":16},{"name":9,"slug":8,"type":16},{"name":363,"slug":364,"type":16},"Notifications","notifications","2026-07-12T08:24:35.741351"]