Merged in code to do little if no emails are returned.