Fixed problem with error reporting on mail.java
Found incompatibility with TLS (Outlook.com won't work)

Started adding database bits