Posts Tagged email
Have Conky Check Your Email!
So I think it’s pretty clear that I don’t like doing things in my browser that a script can do for me. Woot.com, Stock Quotes and NHL Scores have all been taken care of. Now if only conky could tell me if I have new mail. This would save me from logging in and checking manually…
Thanks to python’s easy to use IMAP library this is a piece of cake. The script should work with any IMAP mail server. I have tested it with my Gmail and Drexel University accounts. Your mail server info should be publicly available. Google has theirs under the gmail settings >> imap/pop3 tab (You may have to enable imap under this tab). Best bet is to search google.
The script shows you the total number of messages in your inbox and the number that are unread.
To get it working edit your .conkyrc file. Add the following line under the TEXT section. Change the path to where your script is
${execi 60 python /path/to/script/imap.py}This’ll make obsessive email checking much easier…no need to login manually


Recent Comments