Man who sent hundreds of abusive emails to Sir Keir Starmer handed restraining order