Gravar-mail: Deep representation learning of electronic health records to unlock patient stratification at scale