Plumber put lives at risk with illegal gas work