luke-b / AppScript-Gmail-2-Gdrive

Google App Script that moves all zip files in Gmail attachments to a signle Google drive folder

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gmail-attachments-2-gdrive

Google App Script that moves all zip files in Gmail attachments to a signle Google drive folder
This script has been sucessfully tested against the Google Apps Script APIs of July 2018
(due to Google App script restrictions (execution time, gmail search result limits) the script runs multiple times and requires to be scheduled) Usage:

  • upload the gmail2drive.gs script to your google drive
  • open the App Script editor by clicking on the file in google drive
  • inside the editor try running the function moveZipsFromGmail() to authorize it with your google account
  • setup a scheduler to run the function (every 5 mins)

the script will collect ZIP files from Gmail to a folder called '__ZIPS'

About

Google App Script that moves all zip files in Gmail attachments to a signle Google drive folder


Languages

Language:JavaScript 100.0%