Gustavo, did you know that the interaction ID can be obtained with a single click at the top of your screenshot besides the customer name?
Providing scripter capabilities for chats and emails is planned, but like George said, it is not currently available.