added sending email to confirm/restrict scans