Adding GetId method to StatsQueue, mailAsync action improvements