Skip to content

Email a random image from a Google Drive folder at a set interval.

Notifications You must be signed in to change notification settings

benlind/random-image-emailer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Random Image Emailer

This script emails you a random image from a Google Drive folder at a set interval.

NOTE: this script is based off of dfkoz's gist. I updated it to work with the most recent version of the Google Apps Script API.

Usage

  1. Upload your images to Google Drive.
  2. Log into Google Drive, and click CREATE -> Script -> Blank Project.
  3. Delete all of the default code, and paste the code in random-image-emailer.gs into your project.
  4. Customize the email and folder parameters in random-image-emailer.gs to your liking (note that the quotes around each line are very important).
  5. Test the script by selecting Run -> sendRandomImage. You should receive an email with a random image.
  6. Click Resources -> Current Project's Triggers, and set up the email to run as often as you would like.

About

Email a random image from a Google Drive folder at a set interval.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published