big changes in which emails to sent in what situations

only allow scan_date update when it is null