Redact PII, need to store the emailId in session variable after user enter emailID

Hello Everyone,

I’ve enabled the redact PII in our chatbot for email address, but I want to use the actual user input in webHook call, So I need to store the value in session variable? How can I get the actual value?
Can we extract the actual value in scriptNode?

Note: It works in message node, when it is a plaintext.

Thanks!
Naveen