One of the best ways to refute a legal case is not to defend every little accusation but to use the person's own actions and statements against them. It doesn't surprise me that he is trying to make you look bad, but he is wrong. Especially because he is doing things like trying to contact you, and yet also trying to make you look crazy.
Try to hold your head high and present your case, your requests, as calmly as you can. Let him keep spinning out and proving by his actions HE is the one who has no respect for boundaries. I know - it is so easy to say, but so hard to do.
Also, he is required to send you such documents through an attorney through postal mail. Not via an email of a mutual friend. That is illegal. That shows a deep lack of respect for the authority of the restraining order and the authority of the judge. Keep a list of all actions like this that he does and tell the judge.