Further Customize Communication

Maybe what I want to do is a Ping. Not sure.

We have a BUNCH of subscription levels and plans (to unlock specific videos on this site).

I would like to extend specific coupon codes to members based on their subscription purchase.

For example, "thank you for purchasing XYZ. Upgrade your membership to ABC and save 10% with this code: LMNOP."

Similarly, if someone purchases ABC, then they'd get a different e-mail with a different coupon code.

Possible?