I am building an email service like gmail
I want to know that" how to offer users an email account under my domain?"
For example- my domain is "abcmail.com", how to allow users to create an email like akshay@abcmail.com using a registration form like in gmail

I mean how to offer this service?