recipe-save-email-to-doc
Saves Gmail email body content to a Google Doc for archiving, record-keeping, or further editing and sharing.
npx skills add https://github.com/googleworkspace/cli --skill recipe-save-email-to-docBefore / After Comparison
1 组Important email content needs to be manually copied and pasted into Google Docs for archiving, which is cumbersome and prone to omissions. Email information is scattered, making it inconvenient to find and reference.
Automatically save Gmail email body content to Google Docs, enabling quick archiving and centralized management. This makes it convenient to look up and reference at any time, improving information management efficiency.
Save 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:boss@company.com"}' --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: boss@company.com Subject: Important Update
[EMAIL BODY]'`
User Reviews (0)
Write a Review
No reviews yet
Statistics
User Rating
Rate this Skill