bounce_ratenumber nullable
DSNs / accepted sends, lifetime.
connection_status'connected' | 'disconnected' required
Whether the mailbox's grant currently authenticates.
created_atstring date-time required
daily_send_limitinteger required
disconnected_atstring date-time nullable required
disconnected_reasonstring nullable required
email_addressstring required
last_verified_atstring date-time nullable
When the grant last passed its check.
provider'google_workspace' | 'google_workspace_dwd' required
Which email provider a mailbox connects through.
Only Google Workspace ships so far; every provider is implemented behind
providers.EmailProviderBase so Office 365 and IMAP/SMTP can be added
later without touching callers.
GOOGLE_WORKSPACE holds a per-mailbox OAuth grant (consent screen,
refresh token). GOOGLE_WORKSPACE_DWD holds no grant at all: tokens are
minted on demand via domain-wide delegation as the platform service
account, so its rows carry an empty refresh_token forever. It is the path
imported fleets (e.g. InboxKit) connect through.
reply_ratenumber nullable
Genuine replies / accepted sends, lifetime.
sender_profile_idstring uuid nullable required
updated_atstring date-time required