email_connect_provider
Connect a sending provider.
read email_connect_provider
Connect a sending provider. sendandretain is Send & Retain's own sending: no API key, no settings page — this connects it immediately and is what a new company should start on. resend/sendgrid return the settings-page URL where the HUMAN pastes their key; keys never travel through chat or MCP. Both can be connected at once: traffic splits between them and a failing provider fails over to the other. Re-check with email_get_connection_status after.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
provider | sendandretain | resend | sendgrid | No | |
projectId | string | No | Target company (project id) — required on company-scoped tools. Call email_list_projects to enumerate companies. |
get_connection_statusread
Sending-setup status for the scoped company: provider connection (masked key), domains with per-record DNS state, senders, webhook registration, kill switch.
create_domainwrite
Register a sending domain with the provider (use a SUBDOMAIN like mail.example.com, never the root).