How to create transient variable using javascript

Hello all,
I’m currently creating variables inside an http-connector, using a script like this

// get response data
var user_email = S(response).prop("user_email").value();
// set variables
connector.setVariable("user_email", user_email);

How can I make that same variable a transient variable?

I’ve tried this, and get an error:

// set variables
connector.setVariable("user_email", "stringVariable", user_email);

Error for above code:

    org.camunda.bpm.engine.ScriptEvaluationException: Unable to evaluate script:TypeError: Can not invoke method [jdk.internal.dynalink.beans.SimpleDynamicMethod void org.camunda.bpm.engine.impl.core.variable.scope.AbstractVariableScope.setVariable(String,Object)] with the passed arguments; they do not match any of its method signatures. in <eval> 

Thanks!