added email templated test and coverage config file