AI Integrations
AI tools can send email through Mailtarget when they call a server-side function that owns the API key. The integration boundary is the same as any backend service: the model or agent prepares intent and structured inputs, while trusted application code validates, authorizes, and sends the request.
Integration rule
Do not expose MAILTARGET_API_KEY to a model runtime, browser, mobile app, or user-controlled tool environment unless that environment is already trusted as backend infrastructure.
Use a function boundary:
- The AI agent collects message intent.
- Your application validates sender, recipient, content, and policy.
- Your server calls the Mailtarget API.
- Webhooks or analytics reconcile the final outcome.
Guides
These guides are retained from the legacy Email API category because they are developer-facing, but both are marked for review since tool APIs and package names can drift.