0 LIKES LikeUnLike
I want to get the email from my gmail account via IMAP with a python script. I was wondering how I could know that an email arrived. Is there a way to get a notification when an email arrives? Right now I am just polling the mailbox every 5 seconds, which seems like a waste of bandwidth, because I plan to leave the script running for long periods of time. Thanks for any help in advance.
Tags:
Report (0) (0) | earlier
Latest activity: earlier. This question has 2 answers.