WIP Mail notifications

Hopefully this fixes the travis build... I've got my doubts though.