When someone replies to your email, you should probably update the contact in the CRM somehow anyway. Then it's easy to just click "replied" on the automation. For contacts that don't reply, you can easily let the automation finish and let your last step be a status change or archival of the contact.