As it was promised, I am here with a sample application demonstrating Yahoo mail API features. You can have everything in your application just as in Yahoo Mail. But in order to do this, you need to register your web application on Yahoo, this will give you a application id which will help you sign in later. You need to have a application id, secret and a token. Further information is available here.