Alright, Google Drive is here and you have 5GB of free storage to save and synchronized documents across Windows, Mac and Android devices, but you also want a seamless integration around all other Google products. While the service still in the early stages, you can at least add one more additional feature, thanks to Amit Agarwal now you can save Gmail attachments to your Google Drive account with a using custom script.
You can download the script from this article at Labnol.org; once installed it creates a new label in Gmail and in Drive, then automatically checks any email with the new label and when attachment is detected is send it to Drive.
To have this function in your account, you need to install the script. It is pretty simple just follow these steps:
- Assuming that you are logged in to your Google account, create a copy of this sheet in your Google Docs (now Google Drive).
- 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.
- Next go the Gmail menu again and select Run. Close the Google sheet and you are done.
Now, how awesome it is when you are viewing an attachment in your mobile device and knowing that the file is already sitting on all the devices that you configured the cloud-storage service without you having to do anything?