improve mail component logging