Add mail logger.
Change email subject
update logging, call sync date update method.
add methods to rewrite config file with updated sync info.