Rework logic for sending aboot emails
Change hashmap to fix download hang issue