[SDK reference](../../index.md) / [Models](../index.md) / [Mail](index.md)

# EmailBinding

**Kind:** class  
**Namespace:** `Egulu.Sdk.Models.Mail`  

## Properties

| Name | Type | JSON name | Description |
|---|---|---|---|
| `Annotations` | `Models.Mail.EmailBinding_annotations?` | `annotations` | At most 256 KiB in all; never policy input. |
| `AppId` | `string?` | `appId` | Optional webApp ID or container app binding target. |
| `CircuitBreakerOpen` | `bool?` | `circuitBreakerOpen` | True when the managed relay circuit breaker tripped (>1% failure rate within <=5 min). |
| `CircuitBreakerReason` | `string?` | `circuitBreakerReason` | Reason the circuit breaker opened, if tripped. |
| `CreateTime` | `DateTimeOffset?` | `createTime` | The createTime property |
| `DailyCap` | `int?` | `dailyCap` | Optional daily send cap for managed relay (bounded by project plan limit). |
| `DeleteTime` | `DateTimeOffset?` | `deleteTime` | The deleteTime property |
| `DisplayName` | `string?` | `displayName` | Up to 63 characters. |
| `DkimRecord` | `string?` | `dkimRecord` | Generated DKIM TXT record value for DNS setup. |
| `DkimRecords` | `List<Models.Mail.MailDnsRecordView>?` | `dkimRecords` | The DKIM records the managed relay signs this domain with, as the mail server holds them (W107): publish every one. The mailserver rotates its keys every 90 days, so the list changes; empty for a bring-your-own binding. |
| `DmarcRecord` | `string?` | `dmarcRecord` | Generated DMARC TXT record value for DNS setup. |
| `DomainVerified` | `bool?` | `domainVerified` | Whether SPF, DKIM, and DMARC verification checks have all passed. |
| `Etag` | `string?` | `etag` | "{generation}"; send it back in If-Match. |
| `FailedToday` | `int?` | `failedToday` | Failed deliveries in the current UTC day window. |
| `Labels` | `Models.Mail.EmailBinding_labels?` | `labels` | At most 64. |
| `Location` | `string?` | `location` | Location ID owning this email binding. |
| `Mode` | `Models.Mail.EmailBindingMode?` | `mode` | Delivery mode: BYO_SMTP or MANAGED_RELAY (paid, verified projects only). |
| `Name` | `string?` | `name` | The resource name, for example projects/p/locations/l/instances/i. |
| `PurgeTime` | `DateTimeOffset?` | `purgeTime` | The purgeTime property |
| `Reconciling` | `bool?` | `reconciling` | True while the platform works toward the spec. |
| `SenderDomain` | `string?` | `senderDomain` | Customer sender domain (e.g. `notifications.example.com`). |
| `SentToday` | `int?` | `sentToday` | Messages sent in the current UTC day window. |
| `SmtpHost` | `string?` | `smtpHost` | External SMTP host when mode is BYO_SMTP. |
| `SmtpPort` | `int?` | `smtpPort` | External SMTP port (465 implicit TLS or 587 STARTTLS) when mode is BYO_SMTP. |
| `SmtpUsername` | `string?` | `smtpUsername` | SMTP submission username when mode is BYO_SMTP. |
| `SpfRecord` | `string?` | `spfRecord` | Generated SPF TXT record value (`v=spf1 ...`) for DNS setup. |
| `State` | `Models.Mail.EmailBindingState?` | `state` | Lifecycle state of an EmailBinding. |
| `SuspendReason` | `string?` | `suspendReason` | Why sending is paused (for example spend-cap), if paused. |
| `Uid` | `string?` | `uid` | UUIDv7, never reused. |
| `UpdateTime` | `DateTimeOffset?` | `updateTime` | The updateTime property |
