UMS: updateUser now checks if email parameters are valid

fixes #406