Gmail – Send all incoming email to a folder while “Out of Office”

gmailgmail-filters

I will be away from my email for about six months. I don't want any of the emails in that time to be in my Inbox when I return.

Is there a way to set up a filter that will send all incoming emails to a separate folder for a date-limited time?

Best Answer

No, you cannot setup a filter based on a time period.

You could setup a filter to send all of your mail to the Archive (and also label them if you want) but you would need to turn that filter off once you no longer want it active.

If you are interested in learning some scripting, you could solve this problem using Apps Script. Basically, you would write a script and store it in your Google Drive - maybe the script would scan your Inbox for new mail every hour and send it to the Archive - and schedule it to run every day, every hour, whatever, and put some sort of check into the script code to cause it to stop running after a certain date. You would need some scripting skills to do this (JavaScript), but the programming environment provided by Apps Script does make it very easy to do things like this.

Related Topic