constructor(
      userEmail, pendingEmail, onContinueClick, onCancelClick, opt_tosCallback,
      opt_privacyPolicyCallback, opt_domHelper) {
    // Extend base page class and render email mismatch soy template.
    super(
        firebaseui.auth.soy2.page.emailMismatch,
        {userEmail: userEmail, pendingEmail: pendingEmail}, opt_domHelper,
        'emailMismatch', {
          tosCallback: opt_tosCallback,
          privacyPolicyCallback: opt_privacyPolicyCallback
        });
    this.onContinueClick_ = onContinueClick;
    this.onCancelClick_ = onCancelClick;
    /** @type {?} */
    this.onSubmitClick_;
  }
@param {string} userEmail The email returned by identity provider.
@param {string} pendingEmail The email formerly used to sign in.
@param {function()} onContinueClick Callback to invoke when the continue
    button is clicked.
@param {function()} onCancelClick Callback to invoke when the cancel
    button is clicked.
@param {?function()=} opt_tosCallback Callback to invoke when the ToS link
    is clicked.
@param {?function()=} opt_privacyPolicyCallback Callback to invoke when the
    Privacy Policy link is clicked.
@param {goog.dom.DomHelper=} opt_domHelper Optional DOM helper.