He bombarded a woman with emails and threatened to kill a man