OfficeDev / office-js-docs-reference

Microsoft Office JavaScript API Reference
https://learn.microsoft.com/javascript/api/overview
MIT License
105 stars 63 forks source link

Detect New Emails with Office.js in Outlook Add-ins #1960

Closed CodeCube0 closed 2 weeks ago

CodeCube0 commented 2 weeks ago

How do I know if a new email has been received with officejs? Or how can I find out if a new email has been added to the sent folder?

AlexJerabek commented 2 weeks ago

Hi @CodeCube0,

Let me tag @samantharamon to confirm this, but there currently aren't any events that trigger when messages are received. I'd recommend that you submit a feature request that explains the scenario you're trying to accomplish. Feature requests are submitted to the Microsoft 365 Developer Platform Tech Community.

samantharamon commented 2 weeks ago

Hi @CodeCube0,

As Alex mentioned, we currently don't have an event for this scenario. There is already a feature request for this in the Microsoft 365 Developer Platform Tech Community forum, which we recommend you upvote.