-
Open a google sheet and name the columns email, first_name, url, subject
-
Populate the sheet with some test data
-
Go to "tools" > "script editor"
-
Delete the starter code.
-
Paste the code from this gist into the window
-
Save
-
Go to "file" > "new" > "html file"
-
name it "mail_template"
Save.
- Select "Code.gs" from the left sidebar
- Go to "run" > "run function" > "sendEmails"
Done.