add mail configuration to intializes