How to Create a Gmail Filter to Automatically Delete Emails Older Than X Days
If you want to automatically delete promotional emails from your Gmail inbox after 90 days, you can set up a filter to handle this for you. Follow these simple steps:
Create a Gmail Filter
Step 1: Access Gmail Filters
- Open Gmail.
- Click the Settings icon (⚙️) in the top-right corner.
- Select See all settings.
- Navigate to the Filters and Blocked Addresses tab.
- Click Create a new filter.
Step 2: Set Up the Filter
- In the "Includes the words" field, enter:
older_than:90d
older_than:3650d = 10 Years- This filters promotional emails older than 90 days.
- Click Create filter with this search.
Step 3: Apply the Deletion Rule
- Tick the Delete it checkbox.
- Click Create filter to finalise.
Your Gmail will now automatically delete emails older than 90 days.
Customising the Filter
- Change the time frame: Replace
90d
with any number of days (older_than:180d
for six months). - Use the reverse filter: To find newer emails instead, use:
newer_than:90d
- This can be used to automatically label newer emails instead of deleting them.
By using these Gmail filters, you can keep your inbox organised without manual effort.