How would I build a sensor to tell me that I have a notification on home-assistant.io?

I do not usually log in often and would love to have my HA instance tell me that I have a new email or message on the forum page... Seems like it should be doable, but I do not even know where to start since it is a remote site that requires a login... I really wish that my account page had an option to publish an MQTT message or another way to tell my server directly that a new one exists.

I know... security, ports open or web access. But I could allow port access to a single address from the internet to get a message through it my router/firewall.

How would you do this?

The forum software, Discourse, does offer email notifications in the user preferences... from there you could use the IMAP integration to get your emails into HA.

I will look into those options... it feels so grungy that there is not a direct option, to me.