A specific way to read Mail Body from Microsodt Graph API without signature

Prem Raval 1 Reputation point
2021-03-31T18:18:41.76+00:00

I am trying to create an office add-in for outlook to create a SaaS application for my company. For our use-case, I would need to train the model on emails to make a pattern for a specific user. But many emails have just 10 characters for input questions in the email but more than 40 characters in the signature. And because of that, automated training is not giving the wished accuracy and model. I wanted to ask if there is an endpoint in the graph / some feature planned nearly where there will be a way to get a message without a signature.

I wasn't able to achieve this either from Mail.list messages or /me/message/id request.

Microsoft 365 and Office | Development | Other
Microsoft Security | Microsoft Graph
{count} votes

1 answer

Sort by: Most helpful
  1. Deva-MSFT 2,276 Reputation points Microsoft Employee Moderator
    2021-04-01T11:30:58.647+00:00

    AFAIK, if you're using Microsoft Graph API, you can read the mail body/message body, but not without/exclude the signature. In case if you're using Office addin you can consider using Office.js to see if there any other way exists.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.