Pull delayed batch mail sender logic into a class