We have IMAP support on our roadmap, the project is open source so feel free to add more context about your use case in the GitHub project
We've built IMAP support and Marco and always interested to see others' implementations.
IMAP when talking "cross provider"/"unified inbox" is really hard.
Another good place to discuss this would be our Discord: https://discord.com/invite/uuBsw5xFHc
We haven't started any work on IMAP yet since we already have Gmail and Outlook integration via OAuth