How can I set up auto delete rules in Gmail?

Posted on 2011-10-02
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

    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

    Do You Know the 4 Main Threat Actor Types?

    Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

    Join & Write a Comment

    User Beware!  This is a rather permanent solution to removing your email from an exchange server.  The only way to truly go back is to have your exchange administrator restore your mailbox from backups.  This is usually the option of last resort.  A…
    Ransomware continues to be a growing problem for both personal and business users alike and Antivirus companies are still struggling to find a reliable way to protect you from this dangerous threat.
    The purpose of this video is to demonstrate how to use PicMonkey software to customize images for a Mailchimp campaign. Picmonkey is free and simple online software which can be used by users who don’t have robust editing software such as Photoshop,…
    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.

    734 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

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now