Gravar-mail: Treatment allocation by minimisation