Hi, This stuff constitutes abuse and harassment and he has no right to do this. Nor should you be be caused to feel afraid or intimidated
I have the same issues, although my xh's language isn't as vulgar, thank goodness. I suspect it is guilt and remorse, but that doesn't make it acceptable.
I blocked my xh's emails and will not take his calls, or open mail from him. He lives too far away to be a physical threat.
However it is worth documenting it all, and maybe thinking about having your lawyer draft a letter advising him to stop any further attempts to contact you in this way . State laws vary I now, but really we do not have to tolerate this immature behaviour. If you are seriously worried about him showing up have the police numbers and your phone handy.
They know they have messed up big time, but do not have the life skills to put things right. And it is so useful to have someone else to blame.