Setup log email model.