Function setUserEmail

  • Sets the email address for the current user.

    Parameters

    • email: null | string

      Must pass RFC-5322 email address validation. Accepts an explicit null value to null out attribute.

    Returns Promise<boolean | undefined>

    Resolves to a boolean that indicates whether the update was successfully enqueued. Resolves to undefined if the SDK is not initialized.