1. Verify your sending domain
Open Domains in the dashboard, add your domain and publish the DNS records shown there. Keep your existing mailbox MX records. Wait for the domain to show Verified.2. Create a sending key
In API keys, create a Sending access key restricted to your verified domain. Save its token in your secret store asMOONEMAIL_API_KEY. The token is shown once.
3. Send a test
Replace the sender with an address on your verified domain and the recipient with an address you control. SetMOONEMAIL_API_KEY in your terminal’s environment without putting it in shell history.
emails:read to retrieve its delivery events.
Reuse the same idempotency key and payload for a retry. Use a new key for a new message. See sending and retries.