add mail notification
remove duplicated configs