Email warning error 103

it could be that the emailmessage.txt file is still being written to /in use (i.e locked) when the wdwarningemail.exe program runs
I could put a few seconds delay in that program