Hanly resigned only in part due to the emails.