Python script to check new messages in IMAP directory.
Check imapcheck.cfg_example file were is example of configuration fill it with your account information and put this file in the same directory as imapcheck.py
Warning: In imapcheck.cfg password is saved in plain text, remeber about set rw------- for it.