HTTP API based on imap-cli Python library