Preview documentation: API shapes, DNS values, and code examples are illustrative until a backend contract is published.
Credentials
Create a scoped SMTP credential per project and environment.
Transport
Host, port, TLS, and authentication details are illustrative until an SMTP service is available.
Note: This frontend does not operate an SMTP server.
Proposed code example
// Illustrative only — proposed interface
const response = await mailflow.messages.send({
projectId: "prj_example",
to: "recipient@example.com",
templateId: "tpl_welcome"
});Illustrative response
{
"id": "msg_example",
"status": "accepted",
"environment": "test"
}Error response example
{
"error": {
"code": "validation_error",
"message": "A required field is missing."
}
}