Locate the transaction ID or gift code from when the account was purchased, register a Mojang account and contact customer support. Please provide the transaction ID, the old email, your new email with which you registered your Mojang account, and we'll migrate it for you.