Fixed Connection mail event to emit number of new messages