Gravar-mail: Linear mixed models with endogenous covariates: modeling sequential treatment effects with application to a mobile health study