How to verify email has been sent w/ Outlook Send an Email
What is the best way to verify that an email was sent using the Outlook channel's Send an Email step? I would like to update a record's status to Sent after I've verified that it's associated email has been. I don't see a way to reference the email's status or id after the Send Email step.
I have tried a few things -
1. After sending the email, use the Search Emails step to find the email in the Sent folder. I create a secret key, put it in the email's body, but can't get this to work. I receive only the error: Validation error: {'query': 'required field'}.
2. We have the Sent folder already set up as a Connected table. I could force the table to refresh and then look it up there. There could be several emails being sent within the pipeline run, and I would have to do this in a loop which isn't ideal.
Any other ideas on how to verify an email has been sent using the Outlook Send an Email step?