Unfortunately this only works on .NET. I'm not sure if there is any EWS library for Delphi available.
The Microsoft EWS library is a wrapper around the Exchange Web Services API (SOAP) which can be accessed from any platform but it will not be so easy to talk to the API directly.