Troubleshooting tips

If you are getting errors like “Service invoked too many times,” you can increase the trigger duration. Open the same sheet in Google Docs, go to Tools – > Script Editor and then choose Resources – > Current Script Triggers. Change the value of Minutes timer from “Every 5 minutes” to say “Every 15 minutes”.
If you would like to stop the script from running in the background, open the Google Sheet and choose Uninstall from the Gmail menu.
The above script saves all Gmail attachments. You may also choose to save only image attachments from Gmail.