How to automatically email files to Google Drive

Business tutorials and tips.

This article was provided by Zapier.

When you’re on the go or using a shared computer, the easiest way to save files is to email them to yourself. When you’re back in front of your own computer, you probably upload them to Google Drive. There are a few problems with this scenario. First, you have to actually remember to do it (we all get waylaid by our to-do lists). And second, scrolling through your emails is time-consuming—particularly if a few days or even weeks have gone by.

But what if you could email those files to Google Drive instead while you’re still in your inbox and automatically save them with the rest of your files?

Automatically save new attachments in Google Drive

Zapier lets you create automated workflows called Zaps, which send your information from one app to another. You can create your own Zap from scratch without any coding knowledge, but we also offer quick templates to get you started.

If you’d like to start with a template, click the Use this Zap button below in the feedback section, and you’ll be taken to the Zapier editor. You’ll need to create a Zapier account if you don’t already have one. Then, follow the directions below in the feedback section to set up your Zap.

Note: Most email apps only let you send files up to 25MB, so keep that in mind when using this Zap.

Set up your Email by Zapier trigger

First, set up your trigger—the event that starts your Zap. Search for and select Email by Zapier as the trigger app and New Inbound Email as the trigger event. Click Continue.

A Zapier trigger step where Email by Zapier is selected for the trigger app and New Inbound Email for the trigger event

Note: If you started with the Zap template above, this part will already be done for you.

Next, customize the email address that Zapier has already set up for you. This is a series of random letters and numbers followed by @zapiermail.com.

Before the pre-set characters, Zapier will ask you to add in a word. In this instance, we’ve used the word gdrive, but it can be any combination of letters and numbers you choose, as long as it’s in lowercase. Copy the email address to your clipboard and add it to your address book.

An orange box around the Email Address field, which contains the words gdrive

Once you’ve done this, click Continue.

Next, send a new email to that email address with an attached file so when you test the Zap, it can pull up the email as a record.

An email with the new Zapier email address in the email field and an attached file.

Now you need to test the trigger. Zapier will find the email you’ve just sent to your customized email address. This will be used to set up the rest of your Zap.

Click Test trigger. Once you see that the trigger is working properly, click Continue.

A successful test trigger screen that shows a request.

Set up your Google Drive action

It’s time to set up the action—the event your Zap will perform once it’s triggered. Select Google Drive as your action app and Upload File as your action event. Click Continue.

Google Drive selected for the action app and Upload File selected for the action event.

Note: If you’re working from the Zap template above, this part will already be done for you.

Connect your Google Drive account to Zapier and click Continue.

A dropdown menu with a Google Drive account selected under the Choose account menu

Now it’s time to customize where you want your files to go.

Click on the dropdown under Drive and select My Google Drive. Click on the dropdown under Folder and select the Google Drive folder where you want your email attachments to live. If you don’t want your files to be saved in a specific folder, you can leave that option blank, and Zapier will save the files to your main Google Drive. Next, under File, there will be a dropdown menu of data you can select. Click on Attachment: (Exists but not shown).

Attachments from email highlighted with an orange box under the Folder menu, and Attachment highlighted with an orange box under the File menu

You also have the option to convert your attachments into an editable document. If you want to do this, click on the dropdown under Convert to Document and select True. (Otherwise, you can leave it blank.)

True and False buttons underneath the Convert to Document menu

By default, Zapier uses the same name and extension as the original file attachment you’re uploading. If you want to change this, click on File Name,and you’ll get a dropdown menu of data that you can select for the attachment name. You could, for example, change it to the contents of your email’s subject line.

Email subject line data mapped in the File Name field

The same rules apply for the File Extension dropdown. Just note that you can only change the file extension if you add a file name.

Once you’ve finished setting up your action, click Continue.

Now it’s time to test your action. When you click Test & Review or Test & Continue, Zapier will send an email attachment to your Google Drive according to how you set up your action event.

A grayed out test menu with Test & Review and Test & Continue buttons

If your test was successful, click Turn on Zap. You did it!

Send all your files to Google Drive automatically

The for you in future time you need to save a file to Google Drive, open your email app, attach the file, and email it to your new Google Drive email address. When someone emails you with a file, you can forward that email and copy the attachment—and Zapier will save that to Google Drive, too.

It’s the easiest way to send files to Google Drive.

New to Zapier? Learn more in Zapier’s quick start guide. Then find more ways to build custom email automation.

This article was originally published in September 2018 by Matt Guay, and was updated in February 2022 by Elena Alston.

I hope that you found the above useful or interesting. You can find similar content on our blog: https://www.hostfast.com/blog/

Please let me have your re-action below in the feedback section in the feedback section.

Let us know what topics we should cover for you in future.