Validates the email address using OTP (One-Time Password) that was sent during the registration.
Important:
This function is in Developer Preview and is subject to change.
The verifyEmail()
function returns a Promise that resolves with true if the OTP is valid, or false if the validation fails.
OTP code the member received in an email.