A conman who charged his victims more than £40,000 for unnecessary building work has been jailed.