[BUGFIX] Fix performance issue with mail spools