Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chhantyal/gclean
Free GMail inbox from promotions, updates, spams etc.
https://github.com/chhantyal/gclean
Last synced: about 2 months ago
JSON representation
Free GMail inbox from promotions, updates, spams etc.
- Host: GitHub
- URL: https://github.com/chhantyal/gclean
- Owner: chhantyal
- License: mit
- Created: 2013-09-12T16:53:43.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-11-22T14:38:57.000Z (about 11 years ago)
- Last Synced: 2024-10-12T07:25:16.481Z (3 months ago)
- Language: Python
- Homepage:
- Size: 110 KB
- Stars: 4
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
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 [email protected]: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.