Using the Microsoft Graph API, I am fetching all the emails in a certain shared mailbox.
I cannot use specific FolderID as that is constantly changing/evolving.
How can I differentiate emails that are received versus sent?
I originally subtracted all the emails in the 'SentItems' WellKnownFolderId but the issue with that is that users are able to move emails from the 'SentItems' folder into a sub-folder (under Inbox or Sent Items).
There is also the issues of accounting for the emails in the deleted items and other places we do not want to account for, but that is not as important.
What can I do?
Thanks,