I have a rule that runs the script only if certain words are in a new email subject and from only certain email accounts. The rule runs, and the script runs, but Outlook does not send the correct msg. When you are in front of your PC and select the newest email and run the script it works, but I will not be monitoring this PC so when a new email comes in, Outlook runs the script if the new email meets the criteria, but Outlook does not select that email, it sends the email below it (which is selected). When you open Outlook, it automatically selects the email at the top of the list, when a new email comes in, it shows up right above the email that is selected, but Outlook does not select that new email unless you click on it. If you are not monitoring Outlook, the same email will stay selected all the time.
I not only need the rule and script to run, I need that email selected in Outlook.