Get
Get
yaml
type: "io.kestra.plugin.microsoft365.outlook.Get"Examples
yaml
id: get_outlook_message
namespace: company.team
tasks:
- id: get_message
type: io.kestra.plugin.microsoft365.outlook.Get
tenantId: "{{ secret('AZURE_TENANT_ID') }}"
clientId: "{{ secret('AZURE_CLIENT_ID') }}"
clientSecret: "{{ secret('AZURE_CLIENT_SECRET') }}"
userPrincipalName: "user@example.com"
messageId: "AAMkAGVmMDEzMTM4LTZmYWUtNDdkNC1hMDZiLTU1OGY5OTZhYmY4OABGAAAAAAAiQ8W967B7TKBjgx9rVEURBwAiIsqMbYjsT5e"
yaml
id: get_user_message
namespace: company.team
tasks:
- id: get_message
type: io.kestra.plugin.microsoft365.outlook.Get
tenantId: "{{ secret('AZURE_TENANT_ID') }}"
clientId: "{{ secret('AZURE_CLIENT_ID') }}"
clientSecret: "{{ secret('AZURE_CLIENT_SECRET') }}"
userPrincipalName: "user@example.com"
userEmail: "specific.user@example.com"
messageId: "{{ vars.messageId }}"
includeAttachments: true
Properties
clientId *Requiredstring
clientSecret *Requiredstring
messageId *Requiredstring
tenantId *Requiredstring
includeAttachments booleanstring
Default
falsescopes string
Default
https://graph.microsoft.com/.defaultuserEmail string
userPrincipalName string
Outputs
message
Definitions
io.kestra.plugin.microsoft365.outlook.domain.MessageDetail
attachmentsarray
io.kestra.plugin.microsoft365.outlook.domain.AttachmentInfo
contentTypestring
idstring
namestring
sizeinteger
uristring
bccRecipientsarray
SubTypestring
bodyContentstring
bodyPreviewstring
bodyTypestring
ccRecipientsarray
SubTypestring
conversationIdstring
conversationIndexstring
fromMailstring
hasAttachmentsboolean
idstring
importancestring
internetMessageIdstring
isReadboolean
receivedDateTimestring
Format
date-timesenderMailstring
sentDateTimestring
Format
date-timesubjectstring
toRecipientsarray
SubTypestring