Problem sending automatic emails

Problem sending automatic emails

HI!

in one app i built, i use an auto-send-email function, which sends a message to an address belonging to a person who is assigned a task (i.e., "To: input.assigned_to"). it works perfectly well. 
in another app i tried to apply the same function, but the Creator seems to add ".toString()" at the end of the code (" To: input.assigned_to.toString"), thus causing the code to fail sending the email.
no matter that i delete this addition and save it to the code - when i re-access the app, the change i made is ignored.
can anybody help?