selected_emails_data() is returning wrong mail data when inbox type is anything else then default.
For example, if the inbox type is selected as priority inbox, and I am selecting the 5th mail from the inbox (mails are sorted as priority), selected_emails_data() is returning the mail data of 5th mail from default view which is a different mail from the selected one.
selected_emails_data() is returning wrong mail data when inbox type is anything else then default. For example, if the inbox type is selected as priority inbox, and I am selecting the 5th mail from the inbox (mails are sorted as priority), selected_emails_data() is returning the mail data of 5th mail from default view which is a different mail from the selected one.