Useless typo
Fix some corner-cases for requests at root path
Don't try to login with IMAP and courier when user or password is empty
Fix types of IMAP config parameters
Don't try TLS with SSL connections