{"name":"Atlas Mailer","version":"1.0.0","description":"Transactional email API — send emails via self-hosted Stalwart Mail Server","endpoints":{"send":{"method":"POST","path":"/api/send","auth":"Bearer <MAILER_API_KEY>","body":{"to":"string | string[] (required) — recipient email(s)","from":"string (optional) — sender address, defaults to SMTP_USER","subject":"string (required) — email subject line","html":"string (optional) — HTML email body","text":"string (optional) — plaintext email body","replyTo":"string (optional) — reply-to address"},"response":{"success":true,"data":{"messageId":"<RFC 822 message ID>","accepted":["recipient@example.com"],"rejected":[]}}},"health":{"method":"GET","path":"/api/health","auth":"none","description":"Returns service health + SMTP connectivity status"}},"example":{"curl":"curl -X POST https://mailer.useatlas.tech/api/send \\\n  -H \"Content-Type: application/json\" \\\n  -H \"Authorization: Bearer YOUR_MAILER_API_KEY\" \\\n  -d '{\"to\":\"user@example.com\",\"subject\":\"Hello\",\"html\":\"<h1>Welcome!</h1>\"}'"}}