New paid plan customer / store customer but same automation thank you emails ?

hello, i have a store where customers can buy product and at the same time i have just set up a paid plans. I wonder how the automation “thanks you” email works. In fact i would like to send a different message depending on the action the person have made (buy something on the store or paid plan). Is it possible?

Plus how do i manage to inform the new site member in his user account that he has a paid plan running? does it appear on his buying history?