Send email based on selection: It is not sending the email even when the condition is met.