Conditional Email Notification Not Working