I grew up in "hillbillytown" and so when I moved away at age 21 I had the WORST country bumpkin twang... and I made myself learn how to drop it darn fast once I got to Florida, because when I spoke around others I was unfairly judged as being ignorant or less than intelligent. THEN I doubled down and learned how to invoke it as part of a "customer service voice", because guess what, most people seem to lose their steam when faced with a woman's voice that is both pitched higher than normal AND has a bit of a country twang. Actually worked for me when dealing with subordinates when I was in management positions as well.
Now I have virtually no accent at all, aside from a generic "American" accent, unless I turn on an inflection. Apparently I'm super good at picking up inflection and cadence when it comes to speaking foreign languages too, so I guess I got that going for me, which is nice?
Of course online is a whole different story. I'm usually told I "speak" too formally or at least somewhat too stiffly. Which I can't help, since I have always been a bookworm so my inside voice tends to be rather more formal than the outside, and of course the inside voice is technically what I type out for others to read.....