What ever you do, do not attack her or put her on the defensive.
How do you know about the texts/emails? did you spy on her to find out?
If she showed them to you, then you need to express your concern calmly and without attacking her about it. Validate her feelings if she expresses any.
Stay calm and focused on your marriage, fighting about something that may have or may not have happened would be pointless.