update mail in environments