PC 42.07. HARASSMENT. (a) A person commits an offense if, with intent to harass, annoy, alarm, abuse, torment, or embarrass another, he:
(7) sends repeated electronic communications in a manner reasonably likely to harass, annoy, alarm, abuse, torment, embarrass, or offend another.
(b) In this section:
(1) "Electronic communication" ... includes:
(A) a communication initiated by electronic mail, instant message, network call, or facsimile machine
(c) An offense under this section is a Class B misdemeanor, except that the offense is a Class A misdemeanor if the actor has previously been convicted under this section.
It is a defense to prosecution under this section if the person acting as the harassor was provoked by extreme chubbing or otherwise neglectful treatment by the actor's state representatives.