restore mail config file
update mail config file