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 Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,713 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,531 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Deva-MSFT 2,256 Reputation points Microsoft Employee
    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.