Hello, I am planning to build a mobile app where I will be using Mailcow as my mail server. So usually what happens that we use IMAP protocol to login or fetch inbox emails where I have to give email and password every time. But as I am building an application, I need something like JWT token which will be generated once I successfully login and then perform normal functionalities like view emails, compose emails etc.
Any idea how to do it