Skip to main content

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 as MOONEMAIL_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. Set MOONEMAIL_API_KEY in your terminal’s environment without putting it in shell history.
The response contains the message ID:
This means the request was accepted, not that the recipient received it. Check Emails in the dashboard, or use a credential with 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.

4. Connect delivery events

Add a webhook for delivery, bounce and complaint events before using the integration in production. Account sending approval and safety limits still apply after domain verification or subscription.