added javax.mail.jar to compile/run.sh
added text functionality