Thanks for the link to the documentation .. I guess I'm being thick, but it strikes me that the script ending would mean that the logger goes out of scope .. which should send the E-Mail.
But I'm going to have to do some testing on that aspect of things. Appreciate the feedback. :)