How to Save Email Messages from Gmail in Google Drive Folders

The Save Emails add-on lets you download your Gmail emails and file attachments to any specific folder in  Google Drive. When setting up the download rule, click the “Select Drive Folder” button and the Google File Picker window will open. Select any folder in your Drive and the emails will automatically get saved inside this folder.

google-drive-folder.gif

Download Gmail in Google Team Drive

Read here - Save Emails in Team Drives

Organize Gmail Emails in Google Drive Folders

If you are saving a lot of emails and attachments, the parent folder in Google Drive may become cluttered and difficult to manage. The premium version of Save Emails add-on lets you organize saved emails in dynamic folders based on your email messages.

For instance, you could organize emails in date-based folders or you can choose to save 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.

drive-destination-custom-folder.png

While setting up the rule, go to the Choose Destination Folder section and select the parent folder in Google Drive. Next, go to the Drive Sub Folder input field and specify the path of the dynamic subfolder where the files would go. You need to use the double backslash (\\) to specify a folder path.

For instance, if you wish to organize files in month folders, you can say {{Year}}\\\\{{Month}}. If you need to save emails from the same sender in a common folder, you can say {{Sender}} and a folder will be created inside the parent folder per 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 is a list of all the variable name supported by Drive Subfolder path.

Variable

Description / Example

MessageId

Email Message Id

ThreadId

Email Thread Id

Date (format can be customized)

Message Date (e.g., 26-Feb-2017)

Day

26 (dd)

DayName

Wed (EEE)

DayNameFull

Wednesday (EEEEE)

Week

Week Number (ww)

Month

Feb (MMM)

MonthNumber

02 (MM)

MonthName

February (MMMMM)

Year

2017 (YYYY)

Sender

Sender’s Name (from the From field)

Recipient

Recipients Name (from the To field)

Subject

Email Subject

Amit Agarwal

Amit Agarwal

Google Developer Expert, Google Cloud Champion

Amit Agarwal is a Google Developer Expert in Google Workspace and Google Apps Script. He holds an engineering degree in Computer Science (I.I.T.) and is the first professional blogger in India.

Amit has developed several popular Google add-ons including Mail Merge for Gmail and Document Studio. Read more on Lifehacker and YourStory

0

Awards & Titles

Digital Inspiration has won several awards since it's launch in 2004.

Google Developer Expert

Google Developer Expert

Google awarded us the Google Developer Expert award recogizing our work in Google Workspace.

ProductHunt Golden Kitty

ProductHunt Golden Kitty

Our Gmail tool won the Lifehack of the Year award at ProductHunt Golden Kitty Awards in 2017.

Microsoft MVP Alumni

Microsoft MVP Alumni

Microsoft awarded us the Most Valuable Professional (MVP) title for 5 years in a row.

Google Cloud Champion

Google Cloud Champion

Google awarded us the Champion Innovator title recognizing our technical skill and expertise.

Email Newsletter

Sign up for our email newsletter to stay up to date.

We will never send any spam emails. Promise.