added to mail settings, to send emails to log file, useful for debuging