Email Record: Modeling contextual effects in longitudinal studies /