Conditionally sent email notification is still being sent even if it didn't meet the criteria