CLI tool that send emails on behalf of a user using Microsoft Graph API.
Note: This package uses the graph-interface package behind the scenes.
You can install this package globally from NPM.
To use this tool, an Azure App Registration is required.
The App Registration must have the following permissions:
-
User.Read
(Delegated); -
Mail.Send
(Delegated).
The redirect URI must be set to web and have the value of http://localhost:9090
.
The App Registration must have a client secret.
The required values to use in this tool are:
- Client ID;
- Client Secret;
- Tenant ID.