Additional data returned from a
For the PASSWORD_RESET, VERIFY_EMAIL, and RECOVER_EMAIL actions, this object contains an email field with the address the email was sent to.
For the RECOVER_EMAIL action, which allows a user to undo an email address change, this object also contains a fromEmail field with the user account's new email address. After the action completes, the user's email address will revert to the value in the email field from the value in fromEmail field.
const actionCodeInfo = await firebase.auth().checkActionCode('ABCD'); Data console.log('Action code email: ', actionCodeInfo.data.email); console.log('Action code from email: ', actionCodeInfo.data.fromEmail);
This signifies the email before the call was made.
email: undefined | string;