You can't completely remove the Chat feature from your Mail page----BUT you can disable it so it doesn’t sign you in when you go to Mail, nor interfere with other normal functions.
With the mail page open, look for the IM contact list on the left hand side.
Click where your status says...