Re-enable main UI views
Switch to imaplib2 to support STARTTLS.  This will also allow us to implement IDLE later on