Components thermally connected to metal substrates or heat-sinks by insert mounting