Envoyer la notice par courriel: Estimating covariance functions for longitudinal data using a random regression model