add trim

Added a trim into the string exchange to make sure there no space within
the email address submitted.