Skip to main content

Function: getEmailStatus()

getEmailStatus(svc, companyId): Promise<EmailStatus>

Defined in: src/server/services/settings.ts:146

Delivery readiness for the Setup badge and to replace the inline emailConfigured check: disabled (kill switch off) → key_missing (no API key, or no sender at all) → connected.

Parameters​

svc​

SupabaseClient

companyId​

string

Returns​

Promise<EmailStatus>