Config stuff and starting mail module