IMAP API is a self hosted headless email client. It allows to make requests against an IMAP server via REST API calls. It also keeps an eye on the changes and sends webhook notifications whenever a new email is received or something else happens on the account.