Email Record: Log-linear models for event histories