You're very close to what you're looking to accomplish. While it is required that it be a new email address that has not been used before to receive a welcome email, Confirmed Opt-in is not a requirement for that. The key to this code is that even if you delete a contact, it is a soft-delete and this sample will find the deleted contact and restore it. This process will not result in a welcome email being sent, unless that contact was also opted-out. For contacts that are opted out, they will receive an email to confirm that they wish to resubscribe, which will be followed by a welcome email if they confirm the resubscription.
Your current process should continue to work fine if you simply disable confirmed opt-in. If you see results that are different from that, please let me know!
... View more