recipe-save-email-attachments
tarafından Google
Ekleri olan Gmail mesajlarını bul ve bunları bir Google Drive klasörüne kaydet.
npx skills add https://github.com/googleworkspace/cli --skill recipe-save-email-attachmentsSave 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
Google tarafından daha fazla skill
gws-modelarmor-sanitize-response
Google
Google Model Armor: Bir model yanıtını Model Armor şablonu aracılığıyla temizleyin.
gws-people
Google
Google People: Manage contacts and profiles.
gws-shared
Google
gws CLI: Shared patterns for authentication, global flags, and output formatting.
gws-sheets
Google
Google Sheets: Elektronik tabloları okuyun ve yazın.
gws-sheets-append
Google
Google Sheets: Bir e-tabloya satır ekleyin.
gws-sheets-read
Google
Google Sheets: Bir e-tablodan değerleri okuyun.
gws-slides
Google
Google Slides: Sunumları okuyup yazın.
gws-tasks
Google
Google Tasks: Görev listelerini ve görevleri yönetin.