Sorry for delayed response. One way you could prevent users from deleting email is to block deleting of records in Access Groups setting. If this is not an option for you please let me know.
I would like to know what BackgroundHALShouldPause does, and how to use it. While it's listed in the HAL Primitives report, it is not used in source code and it doesn't appear in the LMS HAL...