Gravar-mail: Reputation drives cooperative behaviour and network formation in human groups