Added statistics counting for email