数据与研究

recipe-send-personalized-emails

googleworkspace/cli

Read recipient data from Google Sheets and send personalized Gmail messages to each row.

  • 620 次安装
  • 3.2万 星标
  • 收录于

安装命令

npx skills add https://github.com/googleworkspace/cli --skill recipe-send-personalized-emails

SKILL.md

Send Personalized Emails from a Sheet

PREREQUISITE: Load the following skills to execute this recipe: gws-sheets, gws-gmail

Read recipient data from Google Sheets and send personalized Gmail messages to each row.

Steps

  1. Read recipient list: gws sheets +read --spreadsheet-id SHEET_ID --range 'Contacts!A2:C'
  2. For each row, send a personalized email: gws gmail +send --to recipient@example.com --subject 'Hello, Name' --body 'Hi Name, your report is ready.'