gmail2gdrive

Store your Gmail attachments and threads into the Google Drive folder of your choice.

View the Project on GitHub

Gmail2GDrive

Gmail2GDrive is a Google Apps Script that you can use to store your Gmail attachements and Gmail Threads (in PDF) into the Google Drive folder of your choice.

Features

Example Configuration

  * rule.filter =              "from:example@gmail.com has:attachment subject:logs"
  * rule.folder =              "MY Google Drive Folder/GM2GD"
  * rule.saveThreadPDF =       true
  * rule.archive =             true
  * rule.filenameFrom =        ""
  * rule.filenameFromRegexp =  ""
  * rule.filenameTo =          "yyyyMMdd-'%id'-'%t'-'%s'"
  * rule.filenameReplaceFrom = "Automatic";
  * rule.filenameReplaceTo =   "Manual";