Hello,
could you perhaps consider developing a web frontend that allows users to manage their licenses?
By creating an account with the email that was used for the purchase, this will be displayed and you can then, for example, detach them from devices and also have an overview of the invoice for the purchase.