I want to receive a message body text in plain text format. I am using the following code but when I am trying to get through extended property collection it gives nothing.
extendedPropertyDefinition = new ExtendedPropertyDefinition(0X1000,
MapiPropertyType.String);
propertySet = new PropertySet(PropertySet.FirstClassProperties.getBasePropertySet(),
ItemSchema.MimeContent, extendedPropertyDefinition);
propertySet.setRequestedBodyType(BodyType.HTML);
emailMessage = EmailMessage.bind(service, itemId, propertySet);