If you want to save your attachments in Google drive now it’s very easy follow these steps,
Open your gmail id.
In new tab open this link,
https://docs.google.com/spreadsheet/ccc?key=0Aofk8L6brI_edGhHTDA2TTRONjBJWGNLRWl6NWpNQnc&newcopy=true
Click link which displaying on webpage. New web page open and Spread Sheet looks like,
In sheet top level it will display Gmail Attachments.
There are following options-
1.Authorize
2.run Program
Click on Authorize - on ok button click it will open new window,
Grant the necessary permissions press Accept button
After that click on Run program
Click ok
It will synchronize attachment files with Google drive
After that check your Google drive,
It will display only last 4 attachments at first after 5 minutes it will display another 4 and so on...........
If we want to save these all attachments in another folder we have to change in our sheet cell5 change name of folder like,
Gmail Files change as MyFolderXYZ
All files displays in another folder where you want to save.
And if you would like to stop the script, open the same Google Sheet and choose Uninstall from the Gmail Attachments menu.