1
0
Fork 0
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:
Knut Ahlers 2018-10-20 18:05:26 +02:00
parent f9e11b61e3
commit 0bcc91d170
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E

View file

@ -4,6 +4,7 @@ var MAX_DELETE_PER_LOOP = 1000
function cleanup() { function cleanup() {
trashByQuery("older_than:10y") trashByQuery("older_than:10y")
trashByQuery("label:newsletter older_than:6m") trashByQuery("label:newsletter older_than:6m")
trashByQuery("label:social-media older_than:2y")
} }
function trashByQuery(query) { function trashByQuery(query) {