See image below of the portal chat interface. Enable that functionality in webchat. Make it possible to connect to email adres in Hubspot (e.g. in the backend for developers) to connect to history like the Portal does.