I need to get the default email (which is selected in File > Account Settings > Account Settings).
I have tried to get it in different ways:
var outlookApp = new Application();
var defaultEmail = OutlookApp.Session.DefaultStore.DisplayName;
var outlookNamespace = outlookApp.GetNamespace("MAPI");
defaultEmail = outlookNamespace.GetDefaultFolder(OlDefaultFolders.olFolderInbox).Store.DisplayName;
defaultEmail = outlookNamespace.DefaultStore.DisplayName;
But all ways return the email of my Exchange account, not the default email I chose (e.g. myExample@gmail.com). Is there any way to get the default email?