Let's imagine i have around 1000 emails in my inbox. I have to download or just back up all the attachments from this emails at once. How to do this ? Opening every mails and downloading attachments from each mail is a tiring process. I have seen this question unanswered in several forums. I too have faced this situation once and i have found a way around. This trick will take only less than 2 minutes and it does not need any software's. Lets see how to do this.

Update : The Script has been updated recently. So there will some change in the setting up procedure. After setting up the script open the spreadsheet Copy of Send to Google Drive v4.0. Change the value of cell D4 to SendtoGoogleDrive and run the program again. Also you will find a folder named Gmail Files instead of Gmail Attachments in your Google Drive folder.

Step 1

  • Setup " Send Gmail attachments to Google drive " script in your Gmail. You can see the setup instructions here .Thanks to Amit Agarwal for this beautiful script.
  • Don't worry about your privacy as this script runs in your own Google account and no one else will have access to any of your data.

Step 2 

  • After Installing the script you will see " SendtoGoogleDrive " label in your label list (see screenshot below)

  • Now go to search bar, type has:attachment and click search. Now you will see all the emails in your inbox which has attachments.
  • Select all the emails with attachments. Click on add label button and select SendtoGoogleDrive ( see screen shot below)

  • Now the script will start sending all the attachments to your Google drive. Wait for sometime till the script finishes its job. ( Go to SendtoGoogleDrive label. if you find this folder empty, the script has finished its job. Now all the attachments has been moved to your Google drive account. )

  • Goto your Google drive account. You will find all your attachments in a folder named GmailAttachments. Now select all the files. Click on more button and select Download. (See screenshot above) Confirm the download and all your attachments will be downloaded as zip file. 
Is this tip helpful ? Speak your opinions as comments :-)


  1. Arjith Singh6 December 2013 at 19:59

    Nice Post ! Was Searching for this tip Thanks :-)

  2. Angelrel Manpower Services12 February 2014 at 00:51

    very clever...thank you so much for this post...very helpful!

  3. NoCarsGo16 February 2014 at 05:06

    Doesn't work for me. The script does not create a "SendtoGoogleDrive" label. Only a "AttachmentSaved" label. So I cannot send attachments to my drive. Any suggestions?

  4. Alberto17 February 2014 at 12:24

    great! Thank you!

  5. gazzamuso18 February 2014 at 16:45

    The send to google drive label is not showing up in my list at all.

  6. Admin18 February 2014 at 18:32

    Thanks for bringing this to my notice. The script has been changed recently. i have updated the setting up procedure.

  7. Admin18 February 2014 at 18:33

    @gazzamusoHi gazzamuso

    The script has been changed recently.Please see the updated setting up procedure.

  8. Nuno Bernardino25 February 2014 at 07:43

    how can i cancel/delete this script?

  9. Admin25 February 2014 at 09:01

    @Nuno Bernardino
    Hi Nuno,
    Open the spread sheet named Copy of Send to Google Drive v4.0 in your Google drive. Go to Gmail Attachments Tab and click uninstall.

  10. Simcha27 March 2014 at 06:17

    Thanks, this is very helpful. Just wondering. I have tried changing the cell D4 to fit a different label. It has worked but seems to only find 4-5 emails at a time before having to run script again. Any ideas?

  11. Joseph Dsouza29 March 2014 at 02:24

    Superbly Fantastic Kudos to you man God bless

  12. Joseph Dsouza29 March 2014 at 02:25

    oh i too dont have the send to google drive label

  13. Fernando Gallo21 April 2014 at 08:00

    exclenet tip! very usefull!

  14. Anonymous1 June 2014 at 00:13

    It works really well, but you need to leave the script alone for a while to process the attachments - maybe it handles only 5 at a time every 5 mins.

  15. Robert Jastrzebski1 June 2014 at 07:30

    It seems that the script downloads ONLY attachments that were sent to me. Is there a way to configure it so it will download also attachments that were sent out?


Receive All Free Updates Via Facebook.