Gravar-mail: Design and estimation in clinical trials with subpopulation selection