constructor(
      email, onTroubleGetingEmailLinkClick, onCancelClick, opt_tosCallback,
      opt_privacyPolicyCallback, opt_domHelper) {
    // Extend base page class and render email link sign in sent soy template.
    super(
        firebaseui.auth.soy2.page.emailLinkSignInSent, {email: email},
        opt_domHelper, 'emailLinkSignInSent', {
          tosCallback: opt_tosCallback,
          privacyPolicyCallback: opt_privacyPolicyCallback
        });
    this.onTroubleGetingEmailLinkClick_ = onTroubleGetingEmailLinkClick;
    this.onCancelClick_ = onCancelClick;
  }
@param {string} email The email formerly used to sign in.
@param {function()} onTroubleGetingEmailLinkClick Callback to invoke when
    the trouble getting email link is clicked.
@param {function()} onCancelClick Callback to invoke when the back 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.