I have just been moved to a team, where we manually test system-generated messages (SMS and e-mail) - a bank sending notifications such as "On 11.5.2018, transaction +1.94 from 111/7777 was made on account 987."
We check them against templates (in this case, it is missing currency).
Please, what are the options of automating these tests? There are a few dozen of those templates, and one incoming e-mail could contain several of such notifications.
Or, to word it differently: we know how some text is supposed to look. How do we automate testing checking whenever it really looks that way?