Rework a bit on top of @bnjbvr's MR to add basic email notifications support. * Cleaned the code a bit. * Add a `Date` and a `Message-ID` header to improve the spam score. Thanks a lot @bnjbvr's for the MR!