add config file.
send email after build, reporting the log