Read XML config file and send email by a very easy way in Java