Added checks to TestJavaMail.groovy.  Trying to combine gmail access with
writing to DB with TestWriteImage.groovy - not there yet.