apostrophe around persons name
is there a way to remove them when importing people from gmail?
For example 'Pete Stevens' (screen shot) is there a way to get everyones name with out the Apostrophes?
9 Replies
That's weird, you have this issue with all the contacts created through email import?
If you go in your gmail account and check any email that is associated with this person, can you open it and click on the 3 dots "More", you should see "Show Original" option. Below you should see the "raw" data.
What do you see next to "From"? Does it contain those single quotes in the name?
Just checked on a few, and none have the single quotation marks.
That's very strange, I don't see anything in the code that would lead to that. Are all contacts created with apostrophes?
Not all, but some are. it's been happening ever since i started messing with Twenty, so i thought it was normal.
was this contact auto-created by the messaging sync?
If yes, it would be great to schedule a session to investigate it together, I'm curious about this bug. I don't see what could lead to it
Yep, it's just some of the contacts.
All of the company names are good. I'll have a look at more of the emails tomorrow to check. Otherwise I'm more than happy if you want to investigate.
It is Gmail of course.
We create the person when we see a messageParticipant for the first time. Then we match it based on its handle (email address here). I wonder if the first email that was parsed had a participant name with quotes in it
This could explain it
I'm a bit surprised that it would be something else as we have already processed millions of different messages on the cloud without facing the issue
take a look at the message and messageParticipant table to see if you see anything suspicious
also when we import emails we import it chronologically, so you could look for the oldest email with this person in your gmail mailbox and check the headers
I looked at the raw data from the first emails from the names with single quotation marks, and i found nothing out of the ordinary.