Gravar-mail: Tensor-network approach for quantum metrology in many-body quantum systems