EmailSyncPolicyView
object
policyrequired- EmailSyncPolicy
platformrequired- object
PropZolo’s OAuth app for the provider is set up (super-admin console).
platform.googlerequired- boolean
platform.microsoftrequired- boolean
retentionrequired- object
retention.enabledrequired- boolean
retention.keep_daysrequired- integer
mailboxesrequired- array of Mailbox
{
"policy": {
"enabled": true,
"providers": {
"google": true,
"microsoft": true
},
"window_days": 0,
"content": "full",
"internal_domains": [
"string"
],
"excluded": [
"string"
],
"changed_at": "string",
"changed_by_id": "string"
},
"platform": {
"google": true,
"microsoft": true
},
"retention": {
"enabled": true,
"keep_days": 0
},
"mailboxes": [
{
"id": "cmusrceel0000q7kaafxqi1om",
"provider": "google",
"email": "string",
"status": "active",
"status_reason": "string",
"member": {
"id": "cmusrceel0000q7kaafxqi1om",
"name": "string"
},
"connected_at": "2026-10-06T05:30:00.000Z",
"consent_at": "2026-10-06T05:30:00.000Z",
"window_start": "2026-10-06T05:30:00.000Z",
"last_sync_at": "2026-10-06T05:30:00.000Z",
"last_ok_at": "2026-10-06T05:30:00.000Z",
"next_sync_at": "2026-10-06T05:30:00.000Z",
"last_error": "string",
"synced_count": 0,
"backfilling": true,
"excluded": [
"string"
]
}
]
}
