In the "If/Then" block of the e-mail automation builder, please add a condition to check if a customer has already used a specific coupon code or not in his past orders.