Gravar-mail: Data-driven inference of hidden nodes in networks