Murderer sentenced for 'depraved' letters to prison worker