How do you edit Internet Accounts in shell?
I found what I needed in
~/Library/Caches/com.apple.mcc.accounts

It's an XML file and it has 4 occurences of each wrong email. Updated and it works fine in Mail.app