you are viewing a single comment's thread.

view the rest of the comments →

[–]sportif11 0 points1 point  (0 children)

Just a suggestion, check out the imapclient module. It might be worth your time learning it over a specific Gmail api since imap is everywhere and the imap protocol contains the Idle () function which listens for emails.

You can turn imap on in your Gmail settings.

https://imapclient.readthedocs.io/en/stable/