The problem is the call setEmailand syntax of ES6 that you are using. When you do:
email => this.setEmail({email})
The transporter converts it to the following:
email => this.setEmail({email: email})
This, of course, is an object.
Then inside the function, you try to apply the function trimto the object, which of course leads to an error. Try instead:
email => this.setEmail(email)
ES6 .