updated mail intiializer