Logging improvements.

Added default java mail properties configuration.
Added more helpful test connection logging re: folders: