Update _JavaMailHealthCheck.java

Fix connect to take config params