Can I automate emails based on the coupon used?

Hi,

Is there a way to autmatically send specific emails to people based on the coupon/promo code that they use? Actually is there a way to see if someone used a specific coupon/promo code?