updated code to ensure when new domain is added, all possible email formats are added to that domain
added configurations model