Email (record): Bayesian Latent Factor Regression for Functional and Longitudinal Data