how do I delete a mail account on my phone but keep the contacts associated with it?

I know how to delete the mail account but when I do all the contacts disappear as well.
Settings > Mail, Contacts, Calendars > scroll to that email address > turn OFF "Mail" and leave "Contacts" turned ON

Original thread: https://forums.imore.com/threads/how-do-i-delete-a-mail-account-on-my-phone-but-keep-the-contacts-associated-with-it.372365/