Preflight an outbound email
preflight_emailCheck an email before an AI agent sends it using SendGuard's Email Preflight API. Returns allow, delay, requires_approval or block with reason codes (recipient validity, sender authentication, content risk, sensitive industries, volume limits) and recommendations. Your sender or workflow must enforce the decision. Does not send email. Without an API key: 3 free checks per day per IP.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"from_email": "<from_email>",
"to_email": "<to_email>"
},
"name": "preflight_email"
}
}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 or sequence identifier (optional); keep it the same for every step of one sequence | |
| relationship | No | Relationship, for example new_prospect or existing_customer | |
| workspace_id | No | Your workspace identifier (API key callers) | |
| sequence_step | No | Step of a multi-step sequence: 1 or omitted for the first touch, 2+ for follow-ups. With campaign_id, follow-ups are checked for spacing and a step cap instead of being treated as duplicates | |
| 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 |