Hybrid IMAP server admin and mailbox reader with json interface