scanForEmails() added