Send Email with Exception

Hello @Abc_Xyz1

So when you are logging to the web application, you can check for the existance of an element using Element exists. If false, use throw activity to throw the exception and the entire process should be in a try catch activity.

Then in the catch section write the log to the text file and share it via email. You can refer to the below thread for writing the logs.