Support folder other than INBOX

This small patch add a folder parameter that defaults to "INBOX" to the IMAP input