in a docs and settings I see there is IMAP as an only option to receive e-mails (replies, omnichannel).
I use Mailgun for receiving e-mails at our domain which can be configuret to forward incoming e-mails or send them to a webhook. I could also use AWS SES to receive emails which supports bysically only the webhook way.
This approach has advantage in a speed - app does not need to check IMAP server periodically, it gets incomming message by HTTP immediately, so I would like to not deploy IMAP server.
Could Rocket.Chat be hacked somehow to use webhooks for receiving e-mails? I could also code some small lambda if it will be needed to convert it to some API call.
Using Rocket.Chat on our VPS.