Sunday, 20 April 2014

Gmail - Purging promotional emails

Today I thought I would go about looking for a a way to set some sort of "Expires after x days" type rules. I don't mind getting promotional emails though I find every few months after neglecting to purge these from my inbox they amass to a level where I spend a day or two worth of "on the train" time bulk deleting them. I came across https://www.johneday.com/422/time-based-gmail-filters-with-google-apps-script which gave me what I was aiming to do using Google scripts.