Hello and welcome.
Can you explain the issue a bit further? It sounds like you are trying to change an email account name?
You cannot change an email address. If you no longer have access to the email account, you can make sure you backup the email if you want to retain it, then delete the email account in > System Preferences... > Internet Accounts. It will then be removed from the Mail application.
C