Not receiving email notifications- conditional