Tested and working.
For checking if email/domains are valid, I had a branch somewhere that uses regex for this, but I dont know where it went. Anyway it wasnt working very reliably. Feel free to open a new issue for that.
Step 1. Fetch and check out the branch for this merge request
git fetch origin git checkout -b trim origin/trim
Step 2. Review the changes locally
Step 3. Merge the branch and fix any conflicts that come up
git fetch origin git checkout origin/master git merge --no-ff trim
Step 4. Push the result of the merge to GitLab
git push origin master
Note that pushing to GitLab requires write access to this repository.
Tip: You can also checkout merge requests locally by following these guidelines.