Overview
DMHub uses Resend to handle transactional email. Resend routes inbound email to DMHub via webhook, and DMHub sends replies through Resend's SMTP infrastructure.
Prerequisites
- A Resend account (free tier supports up to 3,000 emails/month)
- A domain you own (e.g., support@yourcompany.com)
Step 1: Add your domain to Resend
- Log in at resend.com → Domains → Add Domain
- Enter your domain name
- Resend gives you DNS records to add:
- SPF record (TXT) - DKIM record (CNAME, 2 entries) - DMARC record (TXT, optional but recommended)
- Add these records in your DNS provider (Cloudflare, GoDaddy, etc.)
- Click Verify in Resend — propagation can take up to 48 hours
Step 2: Create an API key
In Resend → API Keys → Create API Key. Give it a name like "DMHub". Set permission to Full access.
Copy the API key — you'll only see it once.
Step 3: Connect in DMHub
- Go to /settings/channels → Add Channel → Email → Resend
- Enter:
- Your Resend API key - The "from" address (e.g., support@yourcompany.com) - A display name (e.g., "Acme Support")
- Click Connect
Step 4: Configure inbound routing
For inbound email to reach DMHub, set up Resend's inbound webhooks:
- In Resend → Inbound → set the webhook URL to:
``` https://www.dmhub.ai/api/webhooks/email/inbound ```
- Set up an MX record pointing to Resend's inbound server (provided in Resend docs)
Testing the connection
Send a test email to your connected address. It should appear in /inbox within 30 seconds. Reply from DMHub — the customer sees it from your connected "from" address.
Was this article helpful?
Let us know if this answered your question or if you need more help.
Send feedback