refactor variables names of emails configuration