title: Link to specific email in Exchange 2010 (EWS)
body: <p>We have a web application that links to an exchange account and shows a list of all emails relating to that specific customer. When you click on an email in the list then that specific email opens in a new window in OWA.</p>
  
  <p>We have just been upgraded to Exchange 2010 and I was pleased to find that all this code needed to be rewritten as WebDav has been deprecated! I've got everything working so far except opening the email. This is an example of the URL I get when opening one manually:</p>
  
  <p><a href="https://owa.example.com/owa/?ae=Item&amp;a=Open&amp;t=IPM.Note&amp;id=RgAAAADmf6EZfqbORr1%2fiveFFYyBBwDf6W1FdO8tR59JIuH4tblWAAABcKsWAAAT7QzqtNGiR6C1Ogbnj0IjAAAAA050AAAA&amp;pspid=_1328545178425_761458089" rel="nofollow">https://owa.example.com/owa/?ae=Item&amp;a=Open&amp;t=IPM.Note&amp;id=RgAAAADmf6EZfqbORr1%2fiveFFYyBBwDf6W1FdO8tR59JIuH4tblWAAABcKsWAAAT7QzqtNGiR6C1Ogbnj0IjAAAAA050AAAA&amp;pspid=_1328545178425_761458089</a></p>
  
  <p>The problem is that I don't know how to get the last parameter (pspid). Does anyone know what this is? I'm starting to think it might be a security token for the session as opposed to part of the email. Does anyone know know the best way to generate a link like this?</p>
  
  <p>Thanks</p>