Upload
amit-agarwal
View
95
Download
0
Embed Size (px)
Citation preview
Easily save your email attachments and Gmail messages in Google Drive. Theattachments are saved in their original format while the email messages are saved asPDF files in Drive.
Introduction
The Send to Google Drive programm will automatically download and save all the fileattachments, include the email message itself, to a specific folder in your Google Drive. Youcan define a mapping between Gmail Labels and Google Drive folders so that all emailmessages and files in particular Gmail label are saved in the mapped folder on Drive.
You can get the Send to Google Drive program from Digital Inspiration. The premium editionlets you save email messages PDFs, you can set it to allow attachments of specific types tobe saved in Drive and you can monitor multiples labels in Gmail for saving them to GoogleDrive. It also maintains a detailed log of all the program activity.
For support, send an email to Amit Agarwal at [email protected] or tweet @labnol.
Save Gmail Attachments and Messages to Google Drive
Page 1Digital Inspiration www.ctrlq.org
Step 1: Copy the Google Sheet
Click the link in your starter email (from [email protected]) to create your own copy of theGoogle Sheet in your Google Drive.
Save Gmail Attachments and Messages to Google Drive
Page 2Digital Inspiration www.ctrlq.org
Step 2: Add Gmail to Google Drive Mapping
Next you need to specify the mapping rules that will tell the program the Gmail labels that areto be monitored and the corresponding Google Drive folder where the messages andattachments would be saved.
Save Gmail Attachments and Messages to Google Drive
Page 3Digital Inspiration www.ctrlq.org
Mapping Tips
The mapping sheet has 4 columns:
1. Gmail Label Name - Specify the full name of the Gmail label and any emails thathave this label are saved to Google Drive. If you are using nested labels in Gmail, usea hyphen (-) between the label names.
2. Google Drive Folder - Specify the full path of the Google Drive folder where themessages are to be saved. If the folder is a sub-folder, you would need to use doubleslash (\\). For instance, if you want to save photos under the folder Photographs thatis under Personal, you need to specify the path as \\Personal\\Photographs.
3. File Types to Save - Specify the list of file types (or file extensions) separated bycommas and only matching attachments will be saved in Drive. You can specify "all"without quotes to save all files irrespective of the type or leave it blank to not save anyattachment.
4. Save Message as PDF - Say yes here if you would like to save the email thread as aformatted PDF file in Google Drive.
Save Gmail Attachments and Messages to Google Drive
Page 4Digital Inspiration www.ctrlq.org
Step 3: Authorize the Program
Inside the spreadsheet, choose the Gmail Attachments menu and select the Authorize menu.
Save Gmail Attachments and Messages to Google Drive
Page 5Digital Inspiration www.ctrlq.org
Continue
Click continue to open the authorization wizard.
Save Gmail Attachments and Messages to Google Drive
Page 6Digital Inspiration www.ctrlq.org
Accept
Authorize the program to access your Google account. It needs these permissions to readthe emails in your Gmail account and save them to your Google Drive. The program alsoneeds permissions to write the activity log in a Google Spreadsheet.
The script runs in your own Google Drive and not a single byte of your data is shared oruploaded anywhere. You can also view the entire source code inside the Script editor of thespreadsheet.
Click the Accept button to continue
Save Gmail Attachments and Messages to Google Drive
Page 7Digital Inspiration www.ctrlq.org
Step 4: Activate the Program
Once the script is authorized, go to the Gmail Attachments menu in the spreadsheet againand choose step #2 Run to activate the program. It is now running in the background and,every few minutes, it will connect to your Gmail account and save any email messages andfile attachments in the corresponding folders on your Google Drive.
Save Gmail Attachments and Messages to Google Drive
Page 8Digital Inspiration www.ctrlq.org
Troubleshooting
The Logs sheet contains a detailed log of every activity of the Google Drive script. If you getany errors, you can check the Logs sheet to troubleshoot and find the source of the errors.You can also use the Logs sheet to quickly open the saved files in Google Drive.
Save Gmail Attachments and Messages to Google Drive
Page 9Digital Inspiration www.ctrlq.org
Get Going
You can get the Send to Google Drive program from Digital Inspiration. It is available in bothfree and premium versions.
For support, contact Amit Agarwal at [email protected] or tweet @labnol.
Save Gmail Attachments and Messages to Google Drive
Page 10Digital Inspiration www.ctrlq.org