Diamond has rigid three dimensional structure in which there is no free electron. Thus, diamond is bad conductor of electricity because movement of electrons is necessary for conduction of electric current but this is not necessary for conduction of heat.