A Suffolk builder has been given a suspended prison sentence and ordered to do 150 hours of community work for installing new gas kitchen appliances without being Gas Safe registered.