SwitchFromWP

Keep Business Email Working When Moving a WordPress Website to Lovable

Why moving your website doesn't have to touch your email, what MX, SPF, DKIM and DMARC records do, how to protect them during the cutover, and how to keep contact-form notifications arriving.

Written by a Certified Lovable ExpertFacts checked 25 November 20263 min read

This page recommends Lovable and contains partner links. If you sign up through one I may earn a commission, at no extra cost to you. Disclosure.

The short answer

Your mailboxes (Google Workspace, Microsoft 365 or similar) are a separate service from your website, routed by MX records. Moving the website to Lovable only changes the website records, so email keeps working as long as you don't delete or change MX, SPF, DKIM or DMARC records, and you don't change nameservers without recreating them. The one thing that does need attention is mail the WordPress site itself sent, such as form notifications.

Two kinds of email, handled differently

Business mailboxesWebsite-sent email
Examplesyou@example.com in Gmail or OutlookContact form notifications, password resets, order confirmations
Sent byYour email providerWordPress (often through an SMTP plugin) or a service like SendGrid or Mailgun
Affected by moving the website?No, if DNS records are preservedYes: WordPress stops sending when it's switched off
ActionProtect the recordsRebuild in the new site and test

Email hosted with the web host

Some WordPress hosts also provide your mailboxes (cPanel email, for example). If your MX record points at your web host, cancelling the hosting cancels your email. Move the mailboxes to a dedicated email provider as a separate project before you cancel anything.

What MX, SPF, DKIM and DMARC do

RecordWhere it livesWhat it does
MX@ (the root)Tells other mail servers where to deliver mail for your domain. Lower priority numbers are tried first.
SPFTXT record on @ starting v=spf1Lists which servers may send mail as your domain. There must be only one SPF record; it's limited to 10 DNS lookups.
DKIMTXT or CNAME at selector._domainkeyA public key that lets receivers verify your mail's signature. The selector name is set by your provider.
DMARCTXT record at _dmarcTells receivers what to do if SPF/DKIM fail, and where to send reports.

Don't copy SPF or DKIM values from an article. They're specific to your provider and account. Get them from your email provider's admin console if you ever need to recreate them.

Before the cutover

  • Look up your MX records (dig MX example.com +short) and note the provider.
  • Export or screenshot every TXT record, plus any CNAME containing _domainkey, plus _dmarc.
  • Check your SPF record for an include: or ip4: belonging to your old web host. That's usually what let WordPress send mail. Note it; you may remove it later, but not on launch day.
  • Find out how WordPress sends mail: look for an SMTP plugin and the service it uses.
  • If you plan to change nameservers, confirm every email record is recreated at the new DNS host first. See nameservers vs DNS records.

Testing email after launch

  1. Run dig MX example.com +short and compare it with your saved copy. It should be identical.
  2. From a personal address (not on your domain), send an email to a business mailbox. Confirm it arrives.
  3. Reply from the business mailbox to the personal address. Open the received message's original headers and check SPF, DKIM and DMARC show pass.
  4. Submit each website form and confirm the notification arrives where it should.

Keeping form notifications arriving

This is the part that actually changes. On the Lovable site, a form should store every submission (so nothing is lost if email fails) and then notify you. Ask Lovable to save submissions to the project's database and to email you on each one.

In Lovable

Lovable's built-in email sending needs a domain you own. Lovable sets it up on a sending subdomain (for example notify.example.com) by delegating that subdomain to Lovable's nameservers; it doesn't change your root MX records, so your mailboxes are untouched. Verification takes a DNS step at your DNS host unless the domain was bought through Lovable.

Full details in rebuilding forms and integrations.

If something goes wrong

SymptomLikely causeFix
No incoming mail at allMX records deleted or changed, or nameservers changed without recreating themRestore MX records from your saved copy.
Outgoing mail going to spamSPF or DKIM record removed or editedRestore from saved copy, or reissue from the email provider's admin.
Form notifications stoppedWordPress was the sender and has been switched offEnsure the new site stores and sends notifications; test.
Some services' verification failingVerification TXT records deletedRe-add from the service's settings.

Ready to build the new site?

Start a Lovable project and rebuild privately before you touch your live domain.

Start on Lovable
QR code linking to Lovable with the partner linkScan to try LovableOr tap the code on mobile

Sources checked for this guide

Product and search behaviour changes. These were checked on 25 November 2026; follow the live pages for current details.

Read next