K.B.
On the outside looking in... it would appear that you are trying to stay in the picture and cause problems...sorry...but like I said from the outside looking in. Honestly the only communications I feel the two of you should be having ALONE should be about the kids and then that shouldn't be a big secret. I do feel you are out of line to be texting him about his everday life it is disrepectful to the new wife.
Regardless of what he/she may have done to you, 2 wrongs don't make it right.
You should apologize and let her know you meant no harm and that your wrong and move on.
If it's not a 3 way conversation with all parties involved there will always be conflict.