undoes extra space at the end of the email link