Where are user login credentials stored?

I want to provide password reset functionality to users and therefore want to access the login credentials of users from my php code using sql queries. Where does mail in a box store usernames/passwords? i installed mail in a box with mysql

I wasn’t aware mysql was an option. The sqlite usernames and passwords are stored in /home/user-data/mail/users.sqlite