Email right now is extrimely complicated ("s" in smtp is for "simple" btw) and in order to do it yourself you need to understand many parts of it like dmark reports, constant monitoring of delivery, spam, spf, dkim etc.
There are couple of bare-bones opensource solutions to host it yourself but if you do it from scratch you will go either with postfix or exim. They are written in "low-level" languages like C where extremely hard to write proper software without buffer overflows and so on.
I think there is a place for innovation for better security and user experience as well. You can sell additional services like better spam and malware detection or delivery monitoring and support for enterprise.
I wish I can do it myself but I'm already occupied with too many side projects :)