אתה מחפש פיתרון בחינם?
כי גם לבנות שרת מיילים עולה כסף.
הדרך הכי "לפי הספר" לעשות את זה, היא להירשם לעדכונים מגוגל ישירות
https://developers.google.com/gmail/api/guides/push
עריכה:
וגם אעתיק מה שהם בעצמם כותבים
Typically all notifications should be delivered reliably within a few seconds; however in some extreme situations notifications may be delayed or dropped. Make sure to handle this possibility gracefully, so that the application still syncs even if no push messages are received. For example, fall back to periodically calling history.list() after a period with no notifications for a user.
(וככל הנראה גם ב-wsl)



