One feature I really missed, when moving accounts from GMail to self-hosted E-Mail, was the desktop notification feature from the web interface. Luckily, github.com/stremlau/ has solved this for us with a RoundCube Plugin.
You will need to have GIT installed on the webserver in order for this tutorial to work.
HowTo:
Become Root
sudo -i || sudo su
Change directory to RoundCube Plugins
cd /path/to/roundcube/plugins
Clone the html5_notifier repo
git clone https://github.com/stremlau/html5_notifier.git
Hop to config directory
cd ../config
Edit RoundCube config file
vi config.inc.php
Create or append ‘html5_notifier’ to array
$config['plugins'] = array('html5_notifier'); // Create or..
$config['plugins'] = array('{Plugin1}', 'html5_notifier'); // Append
Restart the webserver for the changes to take effect.
systemctl restart nginx || systemctl restart otherWebserver
Login to your RoundCube WebGUI and navigate to:
Settings > Preferences > Mailbox View
And click Test next to Configure browser
Enjoy! ?