updated setup mail initializer