Gravar-mail: Thermodynamically consistent entropic-force cosmology