Added newMailSetup method to fix the reset issue