Make e-mail notifications actually work