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