'I didn't kill Meredith': Knox writes email to court