Skip to main content
← All schemas

EmailSyncPolicy

object

enabledrequired
boolean
providersrequired
object
providers.googlerequired
boolean
providers.microsoftrequired
boolean
window_daysrequired
integer

Days a newly connected mailbox reaches back (0–90).

contentrequired
"full" | "headers"

full: text and HTML bodies · headers: subject, participants and a short preview.

internal_domainsrequired
array of string

The company’s own domains: colleagues, never contacts.

excludedrequired
array of string

Addresses and domains whose emails are never synced.

changed_atrequired
string or null
changed_by_idrequired
string or null
Example
{
  "enabled": true,
  "providers": {
    "google": true,
    "microsoft": true
  },
  "window_days": 0,
  "content": "full",
  "internal_domains": [
    "string"
  ],
  "excluded": [
    "string"
  ],
  "changed_at": "string",
  "changed_by_id": "string"
}