GitXplorerGitXplorer
c

gclean

public
4 stars
1 forks
0 issues

Commits

List of commits on branch master.
Unverified
9bb1e4c09a81d0d692e580e25cd90955a45b46f5

docs update

committed 11 years ago
Unverified
9a03b39426e48877cc41bf5f8ad62f0948a868d1

update readme

committed 11 years ago
Unverified
775b62b3baa9fe28f394b8857dd337f4b6581308

update readme

committed 11 years ago
Unverified
527796ca4d0de0a20cd702739023b936159086c4

update readme

committed 11 years ago
Unverified
e82ec3799a0976a2a50e226afd936fdae7aec6b1

free gmail from junk

committed 11 years ago
Unverified
9aabcb1f12955d6080d06ad54a308fd734099a0e

initial commit

committed 11 years ago

README

The README file for this repository.

gclean

Free GMail inbox from unwanted junk.

Problem

I love web. Sometimes I love just too much, and end up getting emails from everywhere. Most of them, unwanted. My inbox is full of emails which I don't want to read. Even if I want to open, I can't because they are just too many.

This is just too messy. Let's make it clean. I still love web. Unsubscribing is not really the solution, unless it is spam (Google handles it nicely ;)

Solution

If I don't open and read an email for 15 days (my email habit), probably I will never read it. So, archive all the unread messages older then 15 days (delete optional)

That's exactly what the script does. Simple. Inbox is clean again :)

Usage

1. Install https://github.com/charlierguo/gmail
2. git clone git@github.com:neokya/gclean.git
3. cd gclean/
4. python gclean.py
5. Go out, get some fresh air!

If you want to automate with crontab:

1. sudo crontab -e
2. Add this job: * * */15 * * /path/to/bin/python /path/to/gclean.py

Note: username and password must be provided.