There are schedulers to retrieve emails based on each workgroup IMAP settings. When receiving emails, the scheduler will execute a store procedure on the settings session to insert the email data.
ARDVRO SqlJson
ARDVRO SqlJson