A Massachusetts woman who sent her boyfriend a barrage of text messages encouraging him to kill himself has been convicted of involuntary manslaughter.