For example, an English person called Bob might introduce themselves as “Bob”, whereas an American person called Bob might introduce themselves as “Bahb”. (Sorry, don’t know the phonetic alphabet but hopefully you get my gist)
Should you pronounce those two people’s names the same, with your own natural accent, or should you copy how the person says their own name?
Edit: I specifically picked a generic English name with different pronunciation across different accents. I know my wording wasn’t great, sorry! Hopefully the edit is a bit clearer.
Context and other languages
When pronouncing a name from a different language, I firmly believe you should copy the pronunciation of the owner of that name, and not Anglicise the name unless asked to. I say this as a speaker of a language that English people regularly mispronounce and even insist to me that they know the correct pronunciation of my language.
Pronounce their name as best as you can. Im sure both of you can be native and non-native speaker to each and own tongue.
There are some people will upfront dislike you or gives negative impression for saying their name in not a proper way. (Dont worry you’ll encounter them less)