add email log to config