Skip to content

This project is a Google Sheets script which automatically send email to users.

Notifications You must be signed in to change notification settings

JakeDasheck/GgSheetEMail

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

GoogleSheetEMailSender

Script to automatically send emails from Google Sheet forms.

General info

This project is Google Sheets script which automatically send email messages to users. The script compares dates and send email to the person which were assigned to the date.

Technologies

Project is created with:

  • App Script
  • JavaScript

Setup

To use this script you have to:

  1. Make a new Google Sheet file and make two sheets in it.
  2. You need to name the sheets as follows: "Calendar" and "emailAddresses" (without quotation marks).
  3. The "Calendar" sheet has to look like screenshot below:

Calendar sheet

  • In the A ("Day") column you have to write a date when scritp should send the e-mail.
  • OPTIONAL In the B ("Day of the week") you can write a day of the week, when the script should send the e-mail.
  • In the C ("Name Surname") column you have to write name and surname of addressee.
  1. The "emailAddresses" sheet has to look like screenshot below: emailAdresses sheet
  • In the A ("Name Surname") column you have to write name and surname of addressee.
  • In the B ("Email Address) column you have to write a e-mail adresses for each addressee.
  1. Than, you have open the script editor from: Tools -> Script Editor and make a new project.
  2. Next, go to my GgSheetEMail repository, copy entire script from it (EmailSender file) and paste it into the script editor.
  3. Than, save it and name your script.
  4. Now you have to make a triggers. Go to Current project's triggers from Edit menu and make Add Trigger.
  5. There you have to set options as follow:
  • "Choose which function to run to" set to "CheckColumnDate"
  • "Which runs at deployment" set to "Head"
  • "Select event source" set to Time-driven
  • "Select type of time based trigger" set to "Day timer"
  • "Select time of day" set the time when the script should send the e-mail. and save it.
  1. Than you have to give all permisions for script to run on your Google account.

That's all. :)

About

This project is a Google Sheets script which automatically send email to users.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published