fix e-mail title and log file name