How to Fire Google Workspace: Replace Gmail, Drive, and Calendar with Self-Hosted Alternatives
Google Workspace charges per user per month. Here is a complete exit plan to replace Gmail, Drive, Calendar, Meet, and Docs with self-hosted equivalents.
Google Workspace is the most commonly used business software suite in the world, and the most expensive to leave because it touches everything. Email, documents, calendars, contacts, and video calls all run through Google. Replacing it requires five separate migrations. Here is the complete plan.
Phase 1: Email Migration
- Deploy Docker Mailserver or Mailcow: Both provide a complete email stack: SMTP, IMAP, webmail (Roundcube or SnappyMail), spam filtering, and antivirus. Deploy behind your reverse proxy with SSL.
- Configure DNS: Add SPF, DKIM, DMARC, and MX records. These are critical for deliverability. Without them, your email goes to spam or is rejected entirely. Docker Mailserver and Mailcow both generate the correct DNS records for you.
- Migrate emails: Use imapsync to copy all existing emails from Gmail to your new server. This preserves folders, labels, read status, and attachments. Run imapsync once to copy everything, then run it again just before cutover to catch any new emails.
- Update MX records: After the final imapsync, change your MX records to point to your new mail server. New emails start arriving at your server within minutes to hours. Old emails are already there from the sync.
- Keep Gmail forwarding: Keep your Google Workspace account active for 30 days with forwarding enabled. Catch any emails that arrive during the DNS propagation window.
Phase 2: File Migration
- Deploy Nextcloud: Nextcloud is the direct replacement for Google Drive. It provides file storage, sharing, versioning, and desktop sync clients for every platform.
- Use Google Takeout: Export all files from Google Drive via Google Takeout. Download the archive and extract it.
- Upload to Nextcloud: Use the Nextcloud desktop client to sync the exported files. The client handles large file sets efficiently. Alternatively, upload directly to the server if you have SSH access.
- Set up shared folders: Recreate your shared Drive folders as Nextcloud shares. Invite team members with the same permissions they had in Google Drive.
Phase 3: Calendar and Contacts Migration
- Export Google Calendars: In Google Calendar, export each calendar as an ICS file.
- Import into Nextcloud Calendar: Nextcloud Calendar accepts ICS imports. Import each calendar. Verify that recurring events imported correctly.
- Export Google Contacts: Export contacts as a CSV or vCard file from Google Contacts.
- Import into Nextcloud Contacts: Nextcloud Contacts imports both formats. Import and verify.
Phase 4: Document Migration
- Convert Google Docs: Google Docs are in a proprietary format. Export important documents as DOCX or ODT files via Google Takeout. Re-upload to Nextcloud.
- Set up Collabora or OnlyOffice: Both integrate with Nextcloud to provide browser-based document editing, replacing Google Docs. Collabora is more compatible with Microsoft Office formats. OnlyOffice looks and feels more like Microsoft Office.
- Accept the limitation: Real-time collaborative editing in Collabora or OnlyOffice is good but not identical to Google Docs. For teams that rely heavily on simultaneous editing, this is the roughest part of the migration. Set expectations accordingly.
Phase 5: Video Calls
- Deploy Jitsi Meet: Jitsi replaces Google Meet. It supports screen sharing, recording, and chat.
- Set internal expectations: Jitsi performs well for small-to-medium calls. For large calls with 20-plus participants, consider a paid alternative like Whereby or Zoom. Self-hosting video at scale requires significant server resources.
Phase 6: Final Cutover
- Notify your team: Send instructions for logging into the new email, Nextcloud, and calendar. Provide the new URLs. Schedule a brief training session.
- Set up mobile devices: Nextcloud provides apps for iOS and Android. Docker Mailserver works with any IMAP email client. Configure these on team devices.
- Cancel Google Workspace: After 30 days of successful operation, cancel your Google Workspace subscription.
The Cost
Google Workspace Business Standard at 12 US dollars per user per month for 15 users costs 2,160 dollars per year. The self-hosted stack on a 40-dollar VPS costs 480 dollars per year. The annual saving is 1,680 dollars. Over five years: 8,400 dollars.
VPS1 handles complete Google Workspace migrations. Email, files, calendars, and contacts. We move everything. Your team keeps working. Google keeps nothing.
More articles
How to Deploy BTCPay Server: Accept Bitcoin Payments with Zero Platform Fees
BTCPay Server lets you accept Bitcoin and Lightning payments with no platform fees. Only standard Bitcoin network fees apply. Here is how to deploy it with Docker Compose.
Self-Hosted Crypto Payment Processors: BTCPay Server, Bitcart, and SHKeeper Compared
Accept Bitcoin and cryptocurrency payments directly with no platform fees, no intermediaries, and no KYC. Here is how BTCPay Server, Bitcart, and SHKeeper compare.
How to Deploy SHKeeper: Accept Crypto Payments with WooCommerce in 30 Minutes
SHKeeper supports Bitcoin, Ethereum, USDT, USDC, and 19+ cryptocurrencies with a free WooCommerce plugin. Zero platform fees -- only standard network fees apply.