When a customer closes the page or ends the chat, it would be helpful if an email would be sent to the user with the chat log. If the user had closed the page before a reply from the agent, they will still get an email with the latest chat and they can open the chat directly.