Set up Gmail with ImprovMX

Forward custom-domain email to Gmail with ImprovMX, then set up SendAs to send from the same address.

Before you start

You’ll need a domain with editable DNS, an ImprovMX account, a Gmail inbox, and Chrome. This guide uses hello@yourdomain.com as the example address.

Forward incoming mail to Gmail

  1. In the ImprovMX dashboard, open Email Forwarding, enter your domain, and click Add Domain. Next to the domain, open Settings → DNS records.
  2. At your DNS host, add two MX records at @: mx1.improvmx.com with priority 10 and mx2.improvmx.com with priority 20. If another service handles incoming mail for this domain, plan that migration before replacing its MX records.
  3. Add the recommended SPF value in a TXT record at @. ImprovMX’s example is v=spf1 include:spf.improvmx.com ~all. If the root already has SPF, include ImprovMX in the existing record. Back in ImprovMX, choose Check Again and look for the Forwarding badge.
  4. Open the domain’s Aliases page. Enter hello under Alias and your Gmail address under Forwards To. Click ADD.
  5. Use Test next to the alias, or send a message to hello@yourdomain.com from a different mailbox. Check Gmail for the forwarded message.

ImprovMX documentation: dashboard overview, DNS records, record values and verification, aliases, and testing an alias.

Set up sending

Choose a supported sending provider. This example uses Resend.

  1. In Resend, open Domains and use Add Domain to add the domain after the @ in your custom address.
  2. At your DNS host, add the records Resend shows for sending, using the exact names, types, and values in its Records tab. Keep your forwarding MX records in place. Resend’s sending records use separate hostnames.
  3. In Resend, choose Verify DNS Records and wait until sending is verified.
  4. In API Keys, choose Create API Key, select Sending access, and limit the key to the domain you just verified. Copy the key for SendAs settings.

Resend documentation: domain verification and API key permissions.

Connect SendAs and test

  1. Install SendAs for Gmail in Chrome and open SendAs settings.
  2. Under Add an address, enter hello@yourdomain.com (using your actual domain), choose Resend as the Sending provider, paste the API key, and click Save.
  3. Review the Check DNS results after saving. If you update your DNS, choose Check again. Compare any flagged records with the provider dashboard before editing DNS. Resend can assign CNAMEs for sending where the SendAs checker expects TXT and MX records.
  4. Click Next or choose Send test beside your saved address. Enter an address you can check in Test recipient, choose Send test, and confirm delivery in that inbox.
  5. In Gmail, select Compose, choose your custom address in the SendAs From bar, and send a message.

Organize your sent copies in Gmail

In SendAs settings, enter your Gmail address under Keep a copy in Gmail: BCC this address. In Gmail, create a filter for from:hello@yourdomain.com. Choose Skip the Inbox (Archive it) and Apply the label with a label such as Sent (domain).