title: How to send verification email with Firebase?
body: <p>I am signing up my users using Firebase's email and password method. like this:</p>
  
  <pre><code>mAuth.createUserWithEmailAndPassword(email, password)
  
  .addOnCompleteListener(this, new OnCompleteListener&lt;AuthResult&gt;() {
      @Override
      public void onComplete(@NonNull Task&lt;AuthResult&gt; task) {
  
      if (task.isSuccessful()) {
  
          FirebaseUser signed = task.getResult().getUser();
  
          writeNewUser(signed.getUid());
  
          new android.os.Handler().postDelayed(
  
                  new Runnable() {
                      public void run() {
  
                          updateUser(b);
  
                      }
                  }, 3000);
  
      } else {
  
          new android.os.Handler().postDelayed(
  
                  new Runnable() {
                      public void run() {
  
                          onSignupFailed();
  
                      }
                  }, 3000);
  
      }
  
      }
  });
  </code></pre>
  
  <p>After the user's email has been successfully registered, I would like Firebase to send a verification email. I know this is possible using Firebase's <code>sendEmailVerification</code>. In addition to sending this email, I want the user's account to be disabled until they verify the email. This would also require using Firebase's <code>isEmailVerified</code> feature. However, I have been unsuccessful in getting Firebase to send the verification email, I have not been able to figure out to get it to disable and enable the account sending the verification email and after it has been verified.</p>