Implement new mail notifications on the desktop for x11 and mac
Integrate 1.3.1 changes