keitaoouchi / easyimap

Simple imap wrapper.
http://pypi.python.org/pypi/easyimap
Other
38 stars 19 forks source link

Check new emails Continuously #39

Open himanshusagar opened 5 years ago

himanshusagar commented 5 years ago

Hi, Is it possible to run a thread and check emails continuously and see if there's a new one ? A naive way would be to run "easyimap.connect()" inside while loop and check if top of list is different from previous top.