ie8 fix

Automatically send Gmail attachments to Google Drive

Having your Gmail attachments automatically synced to your Google Drive account is possible with this simple hack.

Google Drive launched with one feature missing -- the ability to save Gmail attachments directly to your Google Drive account. Well, thanks to Amit Agarwal, after doing a bit of work, your attachments will automatically be saved to your Google Drive.

(Credit: Screenshot by Jason Cipriani/CNET)

The process requires you to copy a document from Amit's Google Drive account to yours, and grant it permission to monitor your Gmail account. You'll then have to create a Gmail filter that applies the label of GoogleDrive to any e-mail with an attachment that comes into your Inbox. If you prefer not to have every attachment saved to your Google Drive account, you can create a filter for specific people, being sure to include the attachment requirement.

Here are the complete directions:

1. Assuming that you are logged in to your Google account, create a copy of this sheet in your Google Docs (now Google Drive).

2. Open the sheet and you should see a new Gmail menu - click Initialize and grant the necessary permissions. This is your sheet (see source code) and you are not sharing your Google credentials or data with anyone else.

3. Next go the Gmail menu again and select Run. Close the Google sheet and you are done.

Now, if you're a bit skeptical of allowing a random document access to your Gmail account, I can't blame you. I was as well. But, to eliminate any fears of stolen passwords or unauthorized use of your information, Amit has also posted the source code (linked to in the second step above) to the script that actually sends your attachments to Google Drive. Everything the script does stays inside your Google account. In other words, your data and credentials aren't sent to a remote server somewhere.

Going forward, every two minutes the script will monitor your labels and pull any necessary attachments into a folder called Gmail in your Google Drive account.

Not everyone has made the switch to Google Drive, so if you're looking for a way to automatically save any attachments to your Dropbox or Box account, give Attachment.me a look

(Via: LifeHacker)

Don't Miss

How to

Make your old iPhone run like new

Want to make your iPhone 4 run like an iPhone 5? Donald Bell has some easy tips.

Play Video

How to

Set up the ultimate home theater PC

From configuring your PC to choosing the right accessories, Sharon Vaknin shows you what you need to turn your PC into the ultimate TV companion.

Play Video

How to

Maximize your Galaxy S4's battery life

Stretch your S4's battery life with a few built-in features and lesser-known tricks that keep your phone from draining quickly. Sharon Vaknin shows you how.

Play Video

How to

Let guests DJ your party

CNET's Donald Bell shows you how to turn your iPhone into a shared jukebox that guests can access and control using a free app.

Play Video

How to

Take creative photos with the HTC One

The camera on the HTC One is capable of some pretty cool tricks. CNET's Donald Bell highlights some of this smartphone camera's slick features.

Play Video

 

Member Comments