You can create a policy that the EmailInput node or message flow refers to at run time for email server connection information, instead of defining the connection properties on the node or the message flow. The advantage being that you can change the host name and security identity values without needing to redeploy your message flow.
Use the Email Server policy to change the email server connection information for the EmailInput node.