Preflight an outbound email
preflight_emailCheck an AI-written email before sending. Returns allow, delay, requires_approval or block with reason codes (recipient validity, sender authentication, content risk, sensitive industries, volume limits) and recommendations. Does not send email. Without an API key: 3 free checks per day per IP.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Email body as plain text | |
| intent | No | Purpose, for example cold_outbound or follow_up | |
| policy | No | Policy: default, balanced, strict, growth, enterprise, healthcare or recruiting | |
| subject | No | Email subject | |
| agent_id | No | Your agent identifier (API key callers); used for per-agent limits | |
| to_email | Yes | Recipient address | |
| from_email | Yes | Sender address the agent will send from | |
| campaign_id | No | Campaign identifier (optional) | |
| relationship | No | Relationship, for example new_prospect or existing_customer | |
| workspace_id | No | Your workspace identifier (API key callers) | |
| recipient_source | No | Where the address came from, for example apollo, website, referral | |
| recipient_company | No | Recipient company name | |
| recipient_country | No | Recipient country as ISO 3166-1 alpha-2, for example DE | |
| recipient_industry | No | Recipient industry, for example healthcare |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| billing | Yes | ||
| reasons | No | ||
| approval | No | ||
| decision | Yes | allow, delay, requires_approval or block | |
| next_step | Yes | ||
| confidence | Yes | ||
| risk_score | Yes | ||
| delay_seconds | No | ||
| recommendations | No | ||
| suggested_email | No | ||
| recipient_status | No |