SKILL.md
readonlyread-only
name
recipe-draft-email-from-doc
description
讀取 Google 文件中的內容,並將其作為 Gmail 郵件的內文。
從 Google 文件草擬 Gmail 郵件
前置條件: 載入以下技能以執行此食譜:
gws-docs、gws-gmail
讀取 Google 文件中的內容,並將其作為 Gmail 郵件的內文。
步驟
- 取得文件內容:
gws docs documents get --params '{"documentId": "DOC_ID"}' - 從內文複製文字
- 寄送郵件:
gws gmail +send --to recipient@example.com --subject 'Newsletter Update' --body 'CONTENT_FROM_DOC'






