Gravar-mail: Reputation-based resilient consensus with privacy guarantees