Microsoft O365 EMail Provider
Microsoftmail Provider is a class that collect email event via MicroSoft Graph Mail API and push to keep.
Provider Type ¶
Consumer
Authentication ¶
This provider requires authentication.
- client_id: Client ID to get access to Microsoft Graph API (required: True, sensitive: False)
- client_secret: Client Secret to get access to Microsoft Graph API (required: True, sensitive: True)
- tenant_id: Tenant ID to get access to Microsoft Graph API (required: True, sensitive: False)
- user_name: User name of mail owner (required: True, sensitive: False)
- pull_interval: The interval for loop pulling emails (required: True, sensitive: False)
How it works ¶
- Get access token using
client_id,client_secret,tenant_id. - List unread mails and convert email to keep alert event with
access tokenfrom step 1. - Mark consumed mail as Read from step 2.
- Delete consumed mail.
Field Mapping ¶
assume message is response["value"] from message API
| alert | explanation | |
|---|---|---|
| name | message["subject"] | email subject as alert name |
| description | message["bodyPreview"] | email content as alert description |
| message | sender:{message["sender"]["emailAddress"]["address"]},body:{message["body"]} | put all info like sender/address/body together as alert message |
| url | message["webLink"] | concrete email outlook link as url |
In workflows ¶
This provider can't be used as "step" or "action" in workflows.
Deduplicate Rule ¶
eventName