Technology · Business · Finance
Toschi Technology · Technology & AI

Moving email to the cloud: a step-by-step guide without losing messages

How to move email off an in-house server or an old hosting plan, keep the full history, avoid days without incoming mail and leave the domain properly authenticated.

, Co-founder of Group Toschi · · 4 min read

Moving email to the cloud means transferring mailboxes, history, contacts and calendars from an in-house server or an old hosting plan to a managed service such as Microsoft 365 or Google Workspace, without users ever missing a message. With an inventory, an advance copy of the history and a planned DNS switch, the change happens with little disruption to the team. Done in a hurry, it produces lost messages, incomplete mailboxes and company emails landing in customers’ spam folders.

Why many companies need to move now

Anyone still running Exchange Server on their own hardware has a concrete reason to act. According to Microsoft’s official lifecycle pages, extended support for Exchange Server 2016 and Exchange Server 2019 ended in October 2025. Without support, the product no longer receives security updates, and the mail server is one of the most exposed systems in a company, because it is reachable from the internet at all times. Cheap hosting bundled with the website brings another problem: little storage, weak spam filtering and no backup guarantee.

Before migrating: the inventory

  • A list of every mailbox, with its size and who uses it
  • Shared mailboxes, groups and aliases, such as finance@ or contact@
  • Where the domain is registered and who holds the DNS panel password
  • Devices and systems that send email on their own: printers, ERP, online store, invoicing software
  • Rules, signatures and forwards that users have created over the years
  • Former employees’ accounts that must be kept for legal or business reasons

The migration, step by step

  • Choose the service and plan based on real usage: mailbox size, archiving and security features
  • Create the users and verify the domain in the new service, without changing mail delivery yet
  • Copy mailbox history in the background while the old server keeps running
  • Lower the cache time (TTL) of the DNS records a few days before the switch
  • Change the MX record at a quiet time and run a final copy of messages received in between
  • Set up phones and computers, with two-factor authentication on from the first login
  • Keep the old server reachable, read only, for a few weeks before shutting it down

Domain authentication: SPF, DKIM and DMARC

Migrating without setting up authentication is the most common way to see company emails end up in spam. The big mailbox providers have tightened their rules. Under Google’s sender guidelines, in force since February 2024, anyone sending to Gmail accounts must have SPF or DKIM in place, and anyone sending more than 5,000 messages a day needs SPF, DKIM and DMARC, plus a spam rate below 0.3%. A company that sends payment slips, invoices and campaigns from the same domain can reach that volume sooner than it expects.

Every system that sends on behalf of the domain must be authorized.
ERP, marketing platform and billing system go into SPF or get their own DKIM key. DMARC starts in monitoring mode and only becomes stricter once the reports show that everything legitimate is authenticated.

The mistakes that cause the most trouble

  • Switching MX before copying the history, leaving users without their old messages on day one
  • Forgetting printers and systems that send email, which stop working without anyone noticing
  • Shutting down the old server too early, without checking that every mailbox arrived complete
  • Leaving the DNS password with a former supplier, which blocks any future change
  • Treating the new service’s sync as backup, when deleting a message deletes it on every device

Frequently asked questions

How long does it take? It depends on the number of mailboxes, the data volume and the connection speed of the old server. Copying the history can take days, but the switch itself usually fits into one night or a weekend, because the history has already been copied.

Does cloud email remove the need for backup? No. The provider takes care of service availability, but deletions by users, compromised accounts and retention mistakes remain the company’s responsibility. A retention policy and a separate copy of key mailboxes close that gap.

What about Brazil’s data protection law (LGPD)? Mailboxes hold personal data about customers and employees. That is why the migration should come with per-user access control, two-factor authentication and formal closure of the accounts of people who leave the company.

Sources and references

Informational content. It does not replace advice from a lawyer, accountant or financial institution.

Want to apply this to your company?

Talk to the team of the unit in charge of the topic.