recipe-draft-email-from-doc
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseDraft a Gmail Message from a Google Doc
从Google Doc起草Gmail邮件
PREREQUISITE: Load the following skills to execute this recipe:,gws-docsgws-gmail
Read content from a Google Doc and use it as the body of a Gmail message.
前提条件: 加载以下技能以执行此方案:、gws-docsgws-gmail
从Google Doc读取内容并将其用作Gmail邮件的正文。
Steps
步骤
- Get the document content:
gws docs documents get --params '{"documentId": "DOC_ID"}' - Copy the text from the body content
- Send the email:
gws gmail +send --to recipient@example.com --subject 'Newsletter Update' --body 'CONTENT_FROM_DOC'
- 获取文档内容:
gws docs documents get --params '{"documentId": "DOC_ID"}' - 复制正文内容中的文本
- 发送邮件:
gws gmail +send --to recipient@example.com --subject 'Newsletter Update' --body 'CONTENT_FROM_DOC'