Private DM with bot to receive new mail notification


I receive several mail notifications from many tools, like jira, jenkins, etc. But we may change to use webmail (intead of outlook client). Of course I could add a browser extension to pop up when new mail arrives, but I would like to know if an idea would be possible:

Create a private DM with a bot (I could call this bot as MailBot for example).
I need to program the bot to check my pop server every hour.
If there is a new mail, so bot could post a message at DM channel.
Rocket Chat will popup a notification in the desktop.

should be possible to do it?
is there something similar in the marktplace ?

Server Setup Information

  • Version of Rocket.Chat Server: 3.3.3
  • Operating System: Linux
  • Deployment Method: docker
  • Number of Running Instances: 1
  • DB Replicaset Oplog:
  • NodeJS Version: v12.16.1
  • MongoDB Version: 4.0.6
  • Proxy: none
  • Firewalls involved:

Any additional Information