@saikarthik there is some plugins for that (webmail into dolibarr):
https://www.dolistore.com/fr/modules/506-2WebMail-STS.html?search_query=webmail&results=12
https://www.dolistore.com/fr/modules/799-DolMessage---Webmail-avanc--.html?search_query=webmail&results=12
and about workflows based on incoming mails i don't know if there is ready to use plugins but i will do that for my own dolibarr (a special pop/imap account for dolibarr and some actions on incoming mails, all of that is based on dolibarr API and calls from command line)
if you need some special things like that you could find some help with a local dolibarr partner : https://wiki.dolibarr.org/index.php?title=List_of_Dolibarr_partners_and_providers