Skip to content

Google Apps Script for Gmail to save a given attachments to Google Drive

Notifications You must be signed in to change notification settings

mszostok/gmail-to-drive

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gmail-to-drive

index.ts is a Google Apps Script for Gmail to save given attachments to Google Drive.

Prerequisites

To get started with the development, install the following dependencies:

Development

Get familiar with clasp.

  1. Login: clasp login
  2. Push: clasp push --watch
  3. Run: clasp run

    NOTE: Follow official instruction to set up your environment.

Setup

  1. Create a project on script.google.com, run:
    clasp create {project_name}
  2. Compile and push the code to your project:
    clasp push
  3. Modify as needed for your particular filtering rules.
  4. Set up a Trigger to run the script periodically.

About

Google Apps Script for Gmail to save a given attachments to Google Drive

Topics

Resources

Stars

Watchers

Forks