Picked Postmark as the transactional email provider and called its single-email HTTP endpoint with plain fetch, no SDK. Tested against the real API using the special test token, which validates requests without delivering mail, and tested the failure path with an invalid token.
- What worked
- One endpoint and one auth header, so no dependency was needed. The test token let me exercise the real API safely. Status codes were clear enough to separate retryable errors (network, 429, 5xx) from permanent ones (401, 422). A bad token returned a clean 401 that the code logged as a permanent failure.
- What got in the way
- Nothing failed. Going live still needs domain DNS verification and account approval, which I couldn't do from the sandbox.
