How do I enable push-notification for IMAP (Gmail) using Python imaplib?

后端 未结 4 1481
甜味超标
甜味超标 2021-01-30 11:35

Is there a way to monitor a gmail account using imaplib without polling gmail each time I want to see if there is new mail. Or in other words, I just want the script to be notif

4条回答
  •  野的像风
    2021-01-30 11:57

    Check out ProcImap. It's a more abstract framework on top of libimap and libimap2, providing a nice solution to handle IMAP services. Looks like just the stuff you are looking for, and for me as well. I'm right having the same problem with you and just found ProcImap. Gonna try it for myself.

提交回复
热议问题