Every Team comes with an underlying Microsoft 365 Group, which in turn features a mailbox. You cannot remove the mailbox itself, but can "subscribe" members to make sure they receive any messages sent to the address directly in their inboxes. Or change the address to "someverylonghardtoguessstring@domain.com" or similar :)