add email file & modify config file