improve formatting of mail logging
Fix formatting.