Looking to have a "if statement" in the order confirmation email according to SKU

Resources consulted

https://shopify.dev/api/liquid/basics

https://community.shopify.com/c/shopify-discussions/different-confirmation-emails-for-different-products/td-p/388028

Problem at hand:

I have a product that is sold in 2 variations ( product A and Product B )

when a customer orders Product A I want to send one confirmation email with some details and when a customer orders product I want to send them a different email with some details.

I tried to use the 2 articles above and I am new to liquid so not very familiar with the code so was wondering if anyone can help me understand where does the code snippet go in the email template to dsiaplay info according tot eh SKU

I’d try to find a file named order.liquid or customer/order.liquid etc.

Then find something something “fulfilment”

From there if product a then send email1 else email2