TiendaSKILL.mdLeída en a3768d0
recipe-save-email-attachments
Find Gmail messages with attachments and save them to a Google Drive folder.
Resumen
Save Gmail Attachments to Google Drive
PREREQUISITE: Load the following skills to execute this recipe:
gws-gmail,gws-drive
Find Gmail messages with attachments and save them to a Google Drive folder.
Steps
- Search for emails with attachments:
gws gmail users messages list --params '{"userId": "me", "q": "has:attachment from:[email protected]"}' --format table - Get message details:
gws gmail users messages get --params '{"userId": "me", "id": "MESSAGE_ID"}' - Download attachment:
gws gmail users messages attachments get --params '{"userId": "me", "messageId": "MESSAGE_ID", "id": "ATTACHMENT_ID"}' - Upload to Drive folder:
gws drive +upload --file ./attachment.pdf --parent FOLDER_ID
Archivos 1 archivo
Instálala a mano
Deska ejecuta esto por ti, para cada agente que elijas. Para ejecutarlo tú en una terminal:
npx skills add googleworkspace/cli --skill recipe-save-email-attachmentsMás de googleworkspace
- gws-gmailgoogleworkspaceOficialGmail: Send, read, and manage email.78.8 k instalaciones en skills.sh0
- gws-gmail-sendgoogleworkspaceOficialGmail: Send an email.72.7 k instalaciones en skills.sh0
- gws-drivegoogleworkspaceOficialGoogle Drive: Manage files, folders, and shared drives.71.8 k instalaciones en skills.sh0
- gws-sharedgoogleworkspaceOficialgws CLI: Shared patterns for authentication, global flags, and output formatting.63.4 k instalaciones en skills.sh0
- gws-calendargoogleworkspaceOficialGoogle Calendar: Manage calendars and events.58.6 k instalaciones en skills.sh0