Views not getting applied for the very first time

Recently i worked in a issue with a developer customer where they tried applying the Outlook views programmatically. They noticed that the Outlook views are not correctly set or applied – specifically, when you create the Outlook profile for the first time and run against it. It happens for the very first time, when you create a new mail and apply the views against the given Outlook profile and during investigation i found this is by design. Unfortunately there is no refresh available for views or apply to do the changes inside the method. As an alternate workaround, we found that by switching the folders, returning the same folder works and re-applying the views works.