Skip to content

Instantly share code, notes, and snippets.

View a10kiloham's full-sized avatar

a10kiloham a10kiloham

  • London, UK
View GitHub Profile
@a10kiloham
a10kiloham / README.md
Last active March 7, 2020 10:08 — forked from jamesramsay/README.md
Gmail: delete old emails automatically

Gmail: delete old emails automatically (2020 update with small fixes)

Automatically deletes old emails that match the specified label.

Get started

  • Create a new Google Apps Script at https://script.google.com
  • Overwrite the placeholder with the javascript below
  • Update the following constants:
  • LABEL_TO_DELETE: the label that should be have old messages deleted
```
2015-09-17 11:37:08 DEBUG SEARCHQUEUE-BACKLOG-71656 :: [NZB.su] :: Using cached parse result for: Peep.Show.S07.720p.WEB-DL.AAC2.0.h.264-DOC
2015-09-17 11:37:08 DEBUG SEARCHQUEUE-BACKLOG-71656 :: [NZB.su] :: Found result Peep.Show.S07.720p.WEB-DL.AAC2.0.h.264-DOC at https://api.nzb.su/getnzb/1a544e7f198f44031bdfa7aaea6a8c15.nzb&i=9477&r=**********
2015-09-17 11:37:08 DEBUG SEARCHQUEUE-BACKLOG-71656 :: [NZB.su] :: Separating full season result to check for later
2015-09-17 11:37:08 DEBUG SEARCHQUEUE-BACKLOG-71656 :: [NZB.su] :: Using cached parse result for: Peep.Show.S07.720p.WEB-DL.AAC2.0.H.264-DOC
2015-09-17 11:37:08 DEBUG SEARCHQUEUE-BACKLOG-71656 :: [NZB.su] :: Found result Peep.Show.S07.720p.WEB-DL.AAC2.0.H.264-DOC at https://api.nzb.su/getnzb/36b1158f5fa93de5b7ad62ff0fa1593b.nzb&i=9477&r=**********
2015-09-17 11:37:08 DEBUG SEARCHQUEUE-BACKLOG-71656 :: [NZB.su] :: Separating full season result to check for later
2015-09-17 11:37:08 DEBUG SEARCHQUEUE-BACKLOG-71656 :: [NZB.su] ::