recipe-save-email-to-doc
作成者: Google
Gmailのメッセージ本文をアーカイブや参照用にGoogleドキュメントに保存します。
npx skills add https://github.com/googleworkspace/cli --skill recipe-save-email-to-docSave a Gmail Message to Google Docs
PREREQUISITE: Load the following skills to execute this recipe:
gws-gmail,gws-docs
Save a Gmail message body into a Google Doc for archival or reference.
Steps
- Find the message:
gws gmail users messages list --params '{"userId": "me", "q": "subject:important from:[email protected]"}' --format table - Get message content:
gws gmail users messages get --params '{"userId": "me", "id": "MSG_ID"}' - Create a doc with the content:
gws docs documents create --json '{"title": "Saved Email - Important Update"}' - Write the email body: `gws docs +write --document-id DOC_ID --text 'From: [email protected] Subject: Important Update
[EMAIL BODY]'`
Googleのその他のスキル
gws-modelarmor-sanitize-response
Google
Google Model Armor: モデルアーマーテンプレートを使用してモデルの応答をサニタイズします。
gws-people
Google
Google People: 連絡先とプロフィールを管理します。
gws-shared
Google
gws CLI: 認証、グローバルフラグ、出力フォーマットのための共有パターン。
gws-sheets
Google
Google Sheets: スプレッドシートの読み書きを行います。
gws-sheets-append
Google
Google Sheets: スプレッドシートに行を追加します。
gws-sheets-read
Google
Google Sheets: スプレッドシートから値を読み取ります。
gws-slides
Google
Google Slides:プレゼンテーションの読み取りと書き込みを行います。
gws-tasks
Google
Google Tasks: タスクリストとタスクを管理します。