Send transcript at end of chat/session to an email address

Is there a way to ‘transcript’ a chat/session and send to an email?