For OTP via mail, the firewall should be configured with a mail server as a mail sender for sending the one-time password.
To configure the firewall
Update the field for One-time password method and select OTP via Mail.
Enter the E-mail Address of the user.