Gmail-autoarchiver is a project mainly written in Python, it's free.
Automatically archive emails in your gmail inbox older than a certain date.
This script will archive emails in your inbox that are older than a specified number of days.
aa:\d+
where the
\d+
is the age limit in days, e.g. aa:3
.EMAIL_ADDRESS
. If you skip this step, you will be prompted to
enter your email address interactively when the script runs.The script will print the subject line for any emails that are auto-archived.
Note: Once you authorize the oauth token/secret, they are saved to
disk at OAUTH_PATH
. If the token/secret no longer work, simply remove
the file at OAUTH_PATH
. The next time the script is run it will set
up a new token/secret.