In Outlook, users can add built-in (email size, importance, etc.) or custom columns that will appear in their inbox view. (https://support.office.com/en-us/article/add-or-remove-columns-in-the-inbox-78098e3e-8203-47da-815e-cb66f76b512e)
How can I read their values? For example, how can I get the email size? Or how can get the value of a custom column?
I've read the whole documentation reference of Outlook Javascript API, but I couldn't find anything.
Categories and CustomProperties are not what I am looking for.
I hope somebody can help me 🙇♂️
These properties are not directly available through add-in APIs. You can use the makeEwsRequestAsync API to make a call to the Exchange backend, and use the GetItem EWS Operation to get properties of the message. Modify the ItemShape element to specify the properties you need.
Note that your add-in must specify the ReadWriteMailbox permission in its add-in manifest.