How do I remove Gmail from my Mail app without removing Gmail account from system preferences?
Simply disable your Gmail account by going into the menu bar, Mail → Preferences → Accounts and uncheck Enable this account under Account Information for your Gmail account.

The account will remain under System Preferences, but Mail will no longer fetch your email nor, therefore, notify you of incoming email under your Gmail account.