Forum Discussion
See my response from your other post, Help Needed with Saving PDF Using Keyword Test: Window Overlap and Index Issue | SmartBear Community - your application should only show one "Save Print Output As" dialog.
It is possible to interact with each "Save Print Output As" dialog, using the property value Index, but you do need to know which dialog is which!
Deal with one dialog at a time, and ensure the dialog is closed after performing the next steps.
If the Execution Plan is failing, try to insert a few delayed statements. You actually need to see it running, and where it's failing, and then add a delay statement before the failure.
I suggest you get your automation working first, before thinking about sending emails.