Change reference by `hash` to `email.id`