Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


How can I set up auto delete rules in Gmail?

Posted on 2011-10-02
Medium Priority
Last Modified: 2012-06-27

Is there a way to set up a rule/filter etc that can auto delete mail in Gmail after a certain period of time? I want to auto delete emails that have an expiry date associated with them - e.g. Groupon emails - so they don't fill up my inbox.

I know the Trash/Bin folder auto-deletes in 30 days and that is fine but I don't want emails to go there first as they won't show up in my inbox.


Question by:inforr
1 Comment
LVL 21

Accepted Solution

Papertrip earned 2000 total points
ID: 36900418
You can set up an advanced filter using the "before:" and "after:" operators.


When you create a filter, put the following into the From: field
after:2011/09/01 before:2011/09/30

Open in new window

There is no functionality to use relative or offset dates for filters, they must be absolute.

There is relative date functionality built into the search feature, but you cannot create filters from that.  All it does is create a before: after: string for you.

Featured Post

Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

One-stop solution for Exchange Administrators to address all MS Exchange Server issues, which is known by the name of Stellar Exchange Toolkit.
Take a look at these 6 Outlook Email management tools which can augment the working and performance of Microsoft Outlook to give you a more rewarding emailing experience.
This Micro Tutorial will demonstrate the easy use of Gmail embedding images in your email so the recipient of your email can view them in context.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Suggested Courses

581 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question