EmailQueue improvements, additions to BaseUtils, further progress with BSA.