Archiving the script I used to migrate emailSubscriptions to emails.