add statistics to mail scanner