Avoid Mail Confusion do not give two e-mail accounts the same name, because Mail will get confused and copy the settings from one account to the other.

You will not be able to rectify this by renaming one account; you’ll need to delete one of the accounts and then re-create it.