Skip to content

Google app script to automatically cleanup your google mail box in a delayed fashion.

Notifications You must be signed in to change notification settings

pedrocatalao/google-mail-delayed-cleanup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

google-mail-delayed-cleanup

Google app script to automatically clean up Gmail inbox in a delayed fashion.

It is useful to receive some email notifications but after a while they become useless and start clogging the inbox.

This script will run every 30min (configurable) to archive messages based on a given list of filters/rules.

To make sure important messages are not archived, just mark them with a Star and they will be skipped by the script.

This is how get it running:

  1. Open Google Drive

  2. Click New -> More -> Google App Script:

  3. Name the script and paste the code from Github (Code.gs)

  4. Edit the filters as desired

  5. Select runMyFilters and press Play button to test run the script:

  6. Click Continue on the authorization required notice:

  7. Allow the app to view and manage your mail:

  8. Edit the triggers pressing the Clock button:

  9. Add some triggers as pictured:

  10. Done!

About

Google app script to automatically cleanup your google mail box in a delayed fashion.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published