Search code examples
c#emailoutlookmicrosoft-graph-apimicrosoft-graph-sdks

MS Graph API : mail snooze function


I'm currently making mail system using graph api (such as outlook). Most of them are working fine but I'm struggling to make Snooze function using graph api. (e.g remind me 1hour later)

Anyone know how to use snooze function through graph api? Thanks

I know there are function to move mail to other folder but I don't think there are setting time option for reminder


Solution

  • When you set a reminder / followup on a regular mail message in Outlook, a few MAPI properties are set - you can see them in OutlookSpy (I am its author): enter image description here

    Some (but not all) of these properties can be accessed directly through Graph (see followupFlag): enter image description here

    See if these properties are enough for you. If not, you can always request/set raw MAPI properties through singleValueExtendedProperties. E.g., for the TaskComplete property, you can use

    "singleValueExtendedProperties":[{"id":"Boolean {00062003-0000-0000-c000-000000000046} Id 0x811c","value":"false"}]