The_Techie
Resident Techie
Disclaimer: This is aimed at people relatively new to Linux, such as myself. Experts should already know this.
I found an awesome Python script for use with Conky here, which will show you how many unread gmails you have.
This works fine, unless you're like me with millions of labels and auto-archiving filters in place. The problem is that they only fetch your unread emails in your inbox itself, once you archive an unread item it won't be recognized by this script.
Easy fix though, just change this:
to this:
The end result is something like this
I found an awesome Python script for use with Conky here, which will show you how many unread gmails you have.
This works fine, unless you're like me with millions of labels and auto-archiving filters in place. The problem is that they only fetch your unread emails in your inbox itself, once you archive an unread item it won't be recognized by this script.
Easy fix though, just change this:
com="wget -O - https://"+username+":"+password+"@mail.google.com/mail/feed/atom --no-check-certificate"
to this:
com="wget -O - https://"+username+":"+password+"@mail.google.com/mail/feed/atom/unread --no-check-certificate"
The end result is something like this