Make WooCommerce Coupons Store Email as well as User ID in “User By” meta

By default WooCommerce Coupons will not store emails if Customer is logged-in, instead it will only store User ID in the Coupon _used_by meta data, the following snippet ensures both User ID and email are stored: This will help decreasing the chances Customers would be able to bypass Coupon usage restrictions.