Gravar-mail: Bayesian modeling of flexible cognitive control