add exmple of recursive call.
modify pom.xml to import JavaMail