Made sure email is only sent if email addresses and saved searches exist.