Trim email address before submitting to API.