Gravar-mail: On Using Electronic Health Records to Improve Optimal Treatment Rules in Randomized Trials