yaml
type: "io.kestra.plugin.microsoft365.outlook.Get"
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
Defaultfalse
Defaulthttps://graph.microsoft.com/.default
Definitions
attachmentsarray
contentTypestring
idstring
namestring
sizeinteger
uristring
bccRecipientsarray
SubTypestring
bodyContentstring
bodyPreviewstring
bodyTypestring
ccRecipientsarray
SubTypestring
conversationIdstring
conversationIndexstring
fromMailstring
hasAttachmentsboolean
idstring
importancestring
internetMessageIdstring
isReadboolean
receivedDateTimestring
Formatdate-time
senderMailstring
sentDateTimestring
Formatdate-time
subjectstring
toRecipientsarray
SubTypestring