Match the port number to the email protocol.