The second is to choose a thermoelectric material which conducts heat badly (so that different parts remain at different temperatures) but electricity well.
These properties of high electrical conductivity, strength, and thermal conductivity, combined with its high optical transparency, make graphene an ideal material for numerous applications.
And as you may have guessed, diamond conducts heat even better than graphite because each atom spreads that energy in three directions rather than two.
It's 200 times stronger than steel by weight, lighter than paper, it's super-flexible and the most conductive material of both electricity and heat ever discovered.