title: Retrieve Current Email Body In Outlook
body: <p>in my outlook addin I want to add a button on the Ribbon so when user click this button I want to retrieve the current selected email's body , I have this code but it retrieve only the first email from the inbox because the index is 1 :</p>
  
  <pre><code>Microsoft.Office.Interop.Outlook.Application myApp = new Microsoft.Office.Interop.Outlook.Application();
  Microsoft.Office.Interop.Outlook.NameSpace mapiNameSpace = myApp.GetNamespace("MAPI");
  Microsoft.Office.Interop.Outlook.MAPIFolder myInbox = mapiNameSpace.GetDefaultFolder(Microsoft.Office.Interop.Outlook.OlDefaultFolders.olFolderInbox);
  String body = ((Microsoft.Office.Interop.Outlook.MailItem)myInbox.Items[1]).Body;
  </code></pre>
  
  <p>so how to retrieve the current opened email in outlook? , this method work for me but I need to get the index for the current email.</p>
  
  <p>Thanks.</p>