Added log to the mail config