Man guilty of 'pathetic' threats to ex, including 500 texts in a day