Answers.Body: <p>You have to select an appropiate Dedupe Rule so that the importer can detect by which criteria you want to treat an existing contact and a imported contact as the same.</p>
  
  <p>Using the predefined Email - Unsupervised Rule should work for this purpose.</p>
  
  <p><a href="https://i.sstatic.net/JaQhC.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/JaQhC.png" alt="enter image description here"></a></p>
  
  <p>If you chose the same location as is defined for the contact email it will just update the existing contact.</p>
  
  <p>However, the option to select the primary e-mail does not seem to be working as expected. It will create a new adress without setting a proper location. </p>
  
  <p><a href="https://i.sstatic.net/unYAA.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/unYAA.png" alt="enter image description here"></a></p>
  
  <p>You may want to report this as a bug.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-04-11T08:10:41.720Z
Answers.Text: This is the exact setup I did for the dedupe rule. The issue that I'm having is like the screenshot you added, where if the contact's e-mail is "work" and for whatever reason I'm importing all as "main" and set as primary, I then get a duplicate e-mail in the record for which the primary e-mail isn't set to "main".
Answers.UserDisplayName: Gilberto
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-04-09T16:20:02.063Z
Answers.LastActivityDate: 2018-04-09T16:20:02.063Z
Answers.UserDisplayName: Thomas Schüttler
Body: <p>I'm looking for a way to add contacts to a group from a CSV file including e-mails of contacts already existing in Civi.<p>
  When I import into Civi, I use the <strong>update option</strong> and select <strong>primary e-mail</strong>, and even when the e-mail is the same, it ads a second e-mail entry with the same e-mail that already exists.<p>
  Is there a way around this? It doesn't seem like it's the correct action as it pollutes the contact card with repeated e-mail entries.</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-03-26T22:50:22.337Z
Comments.Text: It may be worth you confirming this problem replicates on Demo
Comments.UserDisplayName: petednz - fuzion
Tags: <import><tags>
Title: Add contacts to group using CSV with contact e-mails
ThreadText: # Add contacts to group using CSV with contact e-mails
  
  (Asked by: username_0 on 2018-03-26)
  
  I'm looking for a way to add contacts to a group from a CSV file including e-mails of contacts already existing in Civi.
  
  When I import into Civi, I use the **update option** and select **primary e-mail**, and even when the e-mail is the same, it ads a second e-mail entry with the same e-mail that already exists.
  
  Is there a way around this? It doesn't seem like it's the correct action as it pollutes the contact card with repeated e-mail entries.
  
  **Tags:** import, tags
  
  > **Comments:**
  > **username_1**: It may be worth you confirming this problem replicates on Demo  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2018-04-09. Score: 2
  
  You have to select an appropiate Dedupe Rule so that the importer can detect by which criteria you want to treat an existing contact and a imported contact as the same.
  
  Using the predefined Email - Unsupervised Rule should work for this purpose.
  
  [![enter image description here](https://i.sstatic.net/JaQhC.png)](https://i.sstatic.net/JaQhC.png)
  
  If you chose the same location as is defined for the contact email it will just update the existing contact.
  
  However, the option to select the primary e-mail does not seem to be working as expected. It will create a new adress without setting a proper location.
  
  [![enter image description here](https://i.sstatic.net/unYAA.png)](https://i.sstatic.net/unYAA.png)
  
  You may want to report this as a bug.
  
  > **Comments:**
  > **username_0**: This is the exact setup I did for the dedupe rule. The issue that I'm having is like the screenshot you added, where if the contact's e-mail is "work" and for whatever reason I'm importing all as "main" and set as primary, I then get a duplicate e-mail in the record for which the primary e-mail isn't set to "main".  
  
  ---
  
  