Move mail config to separate init file, add some of magnars' marvelous utils