I have Gmail filters set up to label and categories incoming mail. How do I automatically archive my mail when it reaches a predefined age, with different ages defined for each label and category? For example, I want mail labelled "Personal" archive after one day, and mail categorized as "Updates" after five days.
Gmail – How to archive Gmail threads by age and label or category
gmailgmail-archivegmail-categoriesgmail-labels
Related Topic
- Gmail – How to Remove Social, Promotions, Updates, and Forums Categories
- Gmail Settings – How to Disable Gmail Automatic Categorization
- Gmail – Prevent Category Assignment with User-Defined Labels
- Gmail Labels vs Categories – Key Differences Explained
- Gmail – Automatically Delete Old Messages with Specific Labels
- Gmail – Problem with filtering and archiving Gmail
- Gmail – Are filters not matching incoming emails executed periodically? If so, when
Best Answer
Gmail does not have this functionality built in, but it can be achieved using a Google script. Here is a list of such solutions:
GMail Archive old messages by label and category by Warwick Allen. This script reads the configuration values from a Google sheet.
How to Auto Delete Old Emails In Any Gmail Label by Arun.
Add the Auto-Sweep Feature of Outlook to Gmail by Amit Agarwal.
How to configure Gmail to automatically delete some emails after certain number of days? by IR. This solution was provided as an answer to the Web Applications question Automated solution to delete certain Gmail messages older than n days
Create time-based Gmail filters with Google Apps Script by John Day.