A rogue landlord has been handed a suspended jail sentence after she failed to maintain gas appliances at her rental property.