Skip to main content

FromMicrosoftGraphEmailNodeConfiguration

Namespace: Meshmakers.Octo.MeshAdapter.Nodes.Trigger

Configuration for polling an Office 365 mailbox folder via Microsoft Graph API. Processes every message in the configured folder (the folder is the work queue — no unread filtering) and optionally moves successfully processed messages to a different folder.

public record FromMicrosoftGraphEmailNodeConfiguration : TriggerNodeConfiguration, INodeConfiguration, IEquatable<NodeConfiguration>, ITriggerNodeConfiguration, IEquatable<TriggerNodeConfiguration>, IEquatable<FromMicrosoftGraphEmailNodeConfiguration>

Inheritance Object → NodeConfiguration → TriggerNodeConfiguration → FromMicrosoftGraphEmailNodeConfiguration
Implements INodeConfiguration, IEquatable<NodeConfiguration>, ITriggerNodeConfiguration, IEquatable<TriggerNodeConfiguration>, IEquatable<FromMicrosoftGraphEmailNodeConfiguration>

Properties

ServerConfiguration

The global configuration key for the Microsoft Graph OAuth2 settings (references a MicrosoftGraphConfiguration entity by WellKnownName)

public string ServerConfiguration { get; set; }

Property Value

String

PollingIntervalSeconds

Polling interval in seconds to check for new messages

public int PollingIntervalSeconds { get; set; }

Property Value

Int32

Mailbox

The mailbox to poll (user principal name, e.g. user@company.com)

public string Mailbox { get; set; }

Property Value

String

FolderPath

Path of the mail folder to poll, segments separated by '/' (e.g. "Archive/Invoices/ToDo"). The path is resolved relative to the mailbox root — the pipeline never looks at the inbox unless the path points there.

public string FolderPath { get; set; }

Property Value

String

MoveToFolderPathOnSuccess

Optional folder path the message is moved to after the pipeline run for that message completed successfully (e.g. "Archive/Invoices/Done"). The leaf folder is created if it does not exist yet (its parent path must exist). Messages whose pipeline run failed stay in the source folder.

public string MoveToFolderPathOnSuccess { get; set; }

Property Value

String

MaxMessagesPerPoll

Maximum number of messages fetched per polling cycle (oldest first)

public int MaxMessagesPerPoll { get; set; }

Property Value

Int32

SenderFilter

Optional filter for the sender address (contains match)

public string SenderFilter { get; set; }

Property Value

String

MaxAttemptsPerMessage

Number of times a failing message is retried (one attempt per polling cycle) before it is skipped until the adapter restarts

public int MaxAttemptsPerMessage { get; set; }

Property Value

Int32

Description

public string Description { get; set; }

Property Value

String

Constructors

FromMicrosoftGraphEmailNodeConfiguration()

Caution

Constructors of types with required members are not supported in this version of your compiler.


public FromMicrosoftGraphEmailNodeConfiguration()