function setPendingCredentials(email) {
  // Pending credential stored.
  pendingCredential = firebaseui.auth.idp.getAuthCredential({
    'accessToken': 'formerFacebookAccessToken',
    'providerId': 'facebook.com'
  });
  var pendingEmailCredential = new firebaseui.auth.PendingEmailCredential(
      email, pendingCredential);
  firebaseui.auth.storage.setPendingEmailCredential(
      pendingEmailCredential, app.getAppId());
}
Creates and saves the email credentials, necessary for the view to load.
@param {string} email The user's email.