logging mail active initialization