@naegelyd if both settings are true, this statement will not allow us to search via email since the first if statement will raise an exception. What do you think?