Second what Esame said - don't beat yourself up over it. Just count to 100 before you act upon what your emotions tell you next time or ask your kids to play hide and seek with your phone...
I'm the one to talk after sending the e-mail I did to my h :-). Well, at least we are in these setbacks together! And they do make us human.