Outlook NodeApiError: were unable to deserialize

Hey,

The main difference I see is the way `attachments` field is created for the message object:

In theory, the Promise.all will do the same as the for loop but can some try with a for loop instead ?

Also body.attachments is not defined as IDataObject[] but is by default object[]. It does not implement the correct interface.

This can cause to use the wrong serialization method leading to error when Microsoft deserialize the request:

{ "error": { "code": "UnableToDeserializePostBody", "message": "were unable to deserialize " } }

@Jon can you check and confirm ?

Edit: Add attachment node also fails, probably because data is not defined as `IDataObject` too…