Gravar-mail: Building adaptive self-healing systems within a resource contested environment