I am not sure what are you asking for. If your question is about OAuth then I would recommend you post it in the OAuth forums for better answers.
For your question on "How do I let Yahoo know which yahoo mail account I need to access?" The entire OAuth process you are doing is for the end user authorization of your app to use his data. With the necessary OAuth req params your app will have access to your app user's data.