Customize email to reflect color variation

I was wondering if there is a way to customize the email sent to customers to confirm their order. The email sent, at the moment, displays the picture of the product’s main picture, not the color the customer purchased. The customer bought a green t-shirt