@tet-vivi I open the BAS script only with 10 threads right now because of the low CPU/RAM. 10 threads are working for 7 minutes and then close the browser and sleep for 30 minutes.
@ensdmrlq I think this is the interal api of outlook, maybe they have docs, otherwise you can try searching google, otherwise you will need to research yourself and try more
Create a variable called "counter". Than use "is element exist" to check if element exist and update "counter" variable whenever element is missing. Check counter variable in the loop, and fail thread if "counter" hit 3
use http client if you want speed . if browser is only solution then you need to disable everything you can ex . images, scripts and other blockable objects .