Skip to content

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Gmail Cleanup

Gmail scripts to process emails

Cleanup-Emails.gs

This script:

  • Loops through Gmail categories (updates and promotions in this setup)
  • Archives emails with a Keep tag after 3 days (for example, Keep/Shopping nested tag is archived)
  • Archives emails with an Important tag after 3 days
  • Deletes remaining messages after 3 days, as long as no thread is newer than 3 days

I use this in conjuction with an allowlist filter. As an example:

Matches: from:(homedepot.com OR amazon.com)
Do this: Apply label "Keep/Shopping"

Email-Senders.gs

This script:

  • Counts number of emails per sender, export to Google Sheets

This is to help create the allowlists for creating the "Keep" labels

About

Gmail scripts to process emails

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages