How to personalize email order confirmations based on payment method?

Hi

I do have the same issue. I am looking to solve the same for “Vorkasse”. Did you solve the problem in the meantime? How must the code look like in the order confirmation template?

I really look forward to a solution