MDL-42547 tool_uploaduser: trim emails before uploading users