fixed #463

more changes to email settings
changed scan_date
reduced email types to 2 kinds