mirror of
https://github.com/Luzifer/gmail-manage.git
synced 2024-11-08 15:30:10 +00:00
Remove social-media stuff after 2y
This commit is contained in:
parent
f9e11b61e3
commit
0bcc91d170
1 changed files with 1 additions and 0 deletions
1
Code.js
1
Code.js
|
@ -4,6 +4,7 @@ var MAX_DELETE_PER_LOOP = 1000
|
|||
function cleanup() {
|
||||
trashByQuery("older_than:10y")
|
||||
trashByQuery("label:newsletter older_than:6m")
|
||||
trashByQuery("label:social-media older_than:2y")
|
||||
}
|
||||
|
||||
function trashByQuery(query) {
|
||||
|
|
Loading…
Reference in a new issue