fixed #463

more changes to email settings
changed scan_date