As seen below, I can add two people with the same email. As a HR application that manages contacts, I think this violates the spirit of your app because at no time would there be two people with the same email address in a team - or ever. This can cause erroneous inputs and emails to be added to the application.
There may be cases in which multiple contacts can share the same work email addresses
For instance, communication between HR and interns may be handled through the interns' supervisors. This is because in some cases, intern turnover rate is high, and therefore creating company issued emails for interns may not be worth the necessary paperwork and hassle involved. Furthermore, due to possible restrictive nature of the work handled, companies might forbid such interns from using their personal, or self created email addresses that they would have access to after their internship attachment. Therefore, supervisors would opt to use their own email addresses in place for the intern's contact information instead, and would instead relay all necessary important information down to the interns. Thus, the email address provided will be that of their supervisor. This is a practice that is done in several companies, such as Cognizant.
As such, we have chosen to not enforce uniqueness on email addresses in the employee list.
As seen below, I can add two people with the same email. As a HR application that manages contacts, I think this violates the spirit of your app because at no time would there be two people with the same email address in a team - or ever. This can cause erroneous inputs and emails to be added to the application.
[original: nus-cs2103-AY2324S1/pe-interim#4112] [original labels: severity.Low type.FeatureFlaw]