How was the content migrated on AEM side? Full migration including all properties?
Then the easiest way might be to just change the existing external account to point to AEMaaCS, then no need to change on the individual mail
If the content was migrated on AEM side, the unique ID which is generated...