Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 986 Bytes

README.md

File metadata and controls

32 lines (23 loc) · 986 Bytes

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.