Class SetEmailTriggerConfigRequest
Alias, sender allowlist and inbound-handling flags for an EMAIL_RECEIVED trigger.
Inherited Members
Namespace: Seclai.Models
Assembly: Seclai.dll
Syntax
public sealed class SetEmailTriggerConfigRequest
Remarks
A property left null is omitted from the request and the server leaves that
field unchanged. To clear a field, send its empty value: "" for
Alias, an empty list for AllowedSenders.
Properties
Alias
Custom alias for the address <alias>.<accountID>@agent.seclai.com (alphanumeric plus '+', '.', '-'; 1–32 chars; not starting/ending with '+', '.', '-'; not UUID-shaped). Send "" to clear; leave null to keep the current alias.
Declaration
[JsonPropertyName("alias")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? Alias { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
AllowedSenders
Allowlist of full sender addresses and/or bare domains (a bare domain also matches sub-domains). Empty/null accepts any sender.
Declaration
[JsonPropertyName("allowed_senders")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public List<string>? AllowedSenders { get; set; }
Property Value
| Type | Description |
|---|---|
| List<string> |
IgnoreAutoGenerated
When true (default for new triggers), machine-generated inbound mail (auto-replies, bulk/list mail, bounces) is dropped before a run to prevent auto-reply loops. Set false to process automated mail.
Declaration
[JsonPropertyName("ignore_auto_generated")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public bool? IgnoreAutoGenerated { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
QueueOnQuota
When true (default false), inbound mail that exceeds the account's hourly email-trigger rate is parked in a QUEUED run and drained later by the catch-up sweep instead of being failed; when false, over-rate mail fails immediately.
Declaration
[JsonPropertyName("queue_on_quota")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public bool? QueueOnQuota { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
RequireSenderAuth
When true (default for new triggers), the envelope sender must pass SPF or DMARC even on an open inbox (no allowlist); unauthenticated, spoofable mail is rejected. Set false to accept fully unauthenticated mail on an open inbox.
Declaration
[JsonPropertyName("require_sender_auth")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public bool? RequireSenderAuth { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |