---
title: Graph Mail
slug: en/graph-mail
description: Learn how to configure and implement Microsoft's e-mail service integration with the Service Management project using Microsoft Graph platform's SDK. This document outlines the steps for setting up OAuth2 authentication, enabling e-mail sending, and perfo
docTags: 
createdAt: 2023-03-01T17:37:33.000Z
---

# Presentation

The following documents describe the configuration and information concerning the Service Management project integration and the Microsoft e-mail service, utilizing the Microsoft Graph platform's SDK. This integration allows for delivering two main functionalities:

1. Sending Microsoft e-mails by Oauth2 authentication through Graph native integration;
2. E-mail reading and automatic actions shooting.

## Compatibility

- [x] Service Management version 2.3.0 or greater;
- [x] Graph-Mail version 1.1.2.

## Diagram

![](https://api.archbee.com/api/optimize/pu5VMc-2TW3GQX4ly5Xp7/KA4JXEwZHXWWZHvX9PR6d_image.png)

# Development Configuration

This implementation does not substitute the previous POP3, SMT, and IMAP integration for other e-mail services. It can also be parametrized for being utilized simultaneously with those integrations.

# Procedure

For proceeding with usage and configurations, see the following documents:

[Development Guidelines](docId\:JasVddoEDt4l2kfUuqIai)

[Graph Mail Project](docId\:rOUZCD8XP3mTdBN3W88GI)

[Service Management Project](docId\:sJTj9o2mZFmr-Zmfm1q1J)

[Cluster vs Competition](docId\:oJzgqpo-kVlPSpiKyu-YL)

# References

The references from the presented documents are as follows:

- [https://docs.microsoft.com/en-us/exchange/client-developer/legacy-protocols/how-to-authenticate-animap-pop-smtp-application-by-using-oauth](https://docs.microsoft.com/en-us/exchange/client-developer/legacy-protocols/how-to-authenticate-animap-pop-smtp-application-by-using-oauth)
- [https://docs.microsoft.com/en-us/azure/active-directory/develop/quickstart-register-app](https://docs.microsoft.com/en-us/azure/active-directory/develop/quickstart-register-app)
- [https://learn.microsoft.com/en-us/graph/sdks/paging?tabs=java](https://learn.microsoft.com/en-us/graph/sdks/paging?tabs=java)
- [https://learn.microsoft.com/en-us/graph/api/mailfolder-list-messages?view=graph-rest-1.0\&tabs=java](https://learn.microsoft.com/en-us/graph/api/mailfolder-list-messages?view=graph-rest-1.0\&tabs=java)
- [https://learn.microsoft.com/en-us/graph/sdks/paging?tabs=Go](https://learn.microsoft.com/en-us/graph/sdks/paging?tabs=Go)
- [https://learn.microsoft.com/en-us/graph/api/user-list-messages?view=graph-rest-1.0\&tabs=java](https://learn.microsoft.com/en-us/graph/api/user-list-messages?view=graph-rest-1.0\&tabs=java)
- [https://learn.microsoft.com/en-us/graph/aad-advanced-queries?tabs=java](https://learn.microsoft.com/en-us/graph/aad-advanced-queries?tabs=java)
- [https://learn.microsoft.com/en-us/graph/api/message-delete?view=graph-rest-1.0\&tabs=http](https://learn.microsoft.com/en-us/graph/api/message-delete?view=graph-rest-1.0\&tabs=http)
- [https://learn.microsoft.com/en-us/graph/api/message-update?view=graph-rest-1.0\&tabs=http](https://learn.microsoft.com/en-us/graph/api/message-update?view=graph-rest-1.0\&tabs=http)
- [https://stackoverflow.com/questions/72262092/microsoft-graph-graphserviceclient-read-email-withanother-account](https://stackoverflow.com/questions/72262092/microsoft-graph-graphserviceclient-read-email-withanother-account)
- [https://learn.microsoft.com/en-us/graph/api/message-get?view=graph-rest-1.0\&tabs=http](https://learn.microsoft.com/en-us/graph/api/message-get?view=graph-rest-1.0\&tabs=http)
- [https://learn.microsoft.com/en-us/answers/questions/943114/get-unread-emails-one-by-oneonly-from-inbox-folde.html](https://learn.microsoft.com/en-us/answers/questions/943114/get-unread-emails-one-by-oneonly-from-inbox-folde.html)

