the is_email function already does the trimming. Sorry, thought I added a comment