Why not just use Google Apps/FastMail/any other IMAP provider?
I am building this for my own webmail project and it really helps to have a fast api so I don't have to worry about the data.
Having an api call to build a new mailbox would be quite handy for small web hosting companies too.