Create IMAP-class for Kohana