Gravar-mail: Thermodynamics and signatures of criticality in a network of neurons