My guess is that she is aware that she behaved without integrity (by messing with your email account, interfering with communication that she felt threatened by) and feels guilty, and she has projected that guilt out onto you and justified & rationalized her own sense of guilt by making you wrong. It happens.
If you want to heal the friendship, you'll have to take 100% responsibility and communicate directly and generously with her. If you hold onto, "you treat me so badly!" you are sentencing yourself to separation. It is all up to you.