How to Download Gmail Messages in Google Drive Folders

The basic version of Save Emails lets you download your Gmail emails and file attachments to any specific folder in your Google Drive. When setting up the rule, click the “Select Drive Folder” button and the Google File Picker window will open. Select any folder where the emails will be saved.


Reduce Clutter, Organize Emails in Multiple Folders

If you are save a lot of emails and attachments, the parent folder may quickly get cluttered and become difficult to manage.

For this very reason, the premium version of Save Emails addon lets you organize your saved emails in dynamic folders based on your email messages. For instance, you could organize your emails in date based folders or you can choose have emails from the same sender clubbed in the same folder and so on.

You can also have all emails and attachments belonging to the same email message saved in a separate folder. Or emails with the same subject line can go in the same folder.


Go to the Choose Destination Folder section and select the parent folder in Google Drive where all the files would go.

Next go to the Drive Sub Folder field and here specify the path of the dynamic sub folder where the files would go. You need to use double backslash (\\) to specify a path.

For instance, if you wish to organize files in month folders, you can say {{Year}}\\{{Month}}. Or if you wish to group emails by sender, you can say {{Sender}}

Similarly, if you wish to save all emails of a particular thread in the same folder, you can say {{ThreadId}} or {{Subject}} {{ThreadId}}

Here are a list of all the variable name supported by Drive Sub folder path.

VariableDescription / Example
MessageIdEmail Message Id
ThreadIdEmail Thread Id
Date (format can be customized)Message Date (e.g., 26-Feb-2017)
Day26 (dd)
DayNameWed (EEE)
DayNameFullWednesday (EEEEE)
WeekWeek Number (ww)
MonthFeb (MMM)
MonthNumber02 (MM)
MonthNameFebruary (MMMMM)
Year2017 (YYYY)
SenderSender’s Name (from the From field)
RecipientRecipients Name (from the To field)
SubjectEmail Subject