---
title: "Migrate from EmailEngine · Workwae"
description: "Move your EmailEngine 2.x accounts, OAuth apps and templates to Workwae without signing every mailbox in again. Our team runs the import for you."
url: https://workwae.com/migrate/emailengine
---

1. [Migrate](https://workwae.com/migrate/)
2. EmailEngine

MigrateFrom EmailEngine 2.x

# Move off EmailEngine without signing anyone in again.

Our team copies your EmailEngine accounts, OAuth apps and stored templates into Workwae with their grants, so mailboxes keep working and you install nothing.

[Plan your migration](https://workwae.com/early-access/) How it works

- Dry run first
- Safe to rerun
- Your EmailEngine is only read

dry-run-plan.txt

```text
# The plan we review with you (example)
Accounts    40 found
            37 import with their existing grants
             3 need a reconnect through hosted connect
OAuth apps   2 become workspace OAuth apps
Templates    6 import

# Nothing is written until you approve the plan
```

Why move

## More than a mailbox connection.

Workwae is hosted only, with no self-hosted edition, and stores data in the United States ([Subprocessors](https://workwae.com/subprocessors)).

### Multi-tenant by design

Own API keys, roles, audit log, usage metering and data exports per tenant.

### A synced index in Postgres

Messages are indexed as they sync and searchable in full text.

### Calendars, contacts, meetings

Calendars, free/busy, [CalDAV](https://workwae.com/glossary#caldav), [CardDAV](https://workwae.com/glossary#carddav) and Zoom and Webex meetings behind the same API.

### Hosted connect

Hosted or headless flows with your own OAuth apps and a consent page naming your workspace.

### Change feed and webhooks

A feed paged by transaction id, and signed webhooks with a delivery log and replays.

### No operations to run

No servers, Redis or workers on your side; we ship upgrades and follow provider changes.

### Push with a polling backstop

Provider push where available, with polling to catch what push misses.

### Sealed credentials and backups

Per-record encryption with keys in HashiCorp Vault, point-in-time restore and hourly Vault snapshots ([Security](https://workwae.com/security#infrastructure)).

### Microsoft national clouds

[GCC High](https://workwae.com/glossary#gcc-high) and [DoD](https://workwae.com/glossary#dod) over Microsoft Graph, and 21Vianet over IMAP and SMTP.

How it works

## We run the import with you.

We read EmailEngine's Redis directly, because its API would sign every account in again.

1.

   ### Share read access

   Send Redis read access and the `EENGINE_SECRET` through our one-time encrypted link.

2.

   ### Dry run

   A dry run writes nothing and lists, per account, what imports, what needs a reconnect and what stays behind.

3.

   ### Review together

   We go through the plan with you and pick the accounts to move.

4.

   ### Apply

   Each account is written in its own transaction, announced with `account.connected` and listed in a JSON report.

5.

   ### Accounts start syncing

   Each account is checked on its first sync, which ends with `account.initialized`.

6.

   ### Reconnect the rest

   Flagged accounts sign in through hosted connect, and you point your app at Workwae.

Safeguards

## Careful by default.

### Stops on a wrong secret

A secret that can't decrypt credentials stops the import before any write.

### Only the accounts you choose

Move everything, or named mailboxes first.

### Safe to rerun

Accounts and templates already imported are skipped.

### Plan limits respected

Accounts over your plan's limit are reported, and the run goes on.

### Template names kept

A taken name gets the EmailEngine id appended.

### Read-only on your side

Nothing in EmailEngine changes, so it runs until you switch.

What carries over

## Accounts, apps and templates.

OAuth apps move with the same client id and secret, which their refresh tokens need.

**Field mapping**

| In EmailEngine | In Workwae |
| --- | --- |
| OAuth2 account, API mode | A Gmail or Microsoft Graph account (Microsoft cloud taken from the app), with its [refresh token](https://workwae.com/glossary#refresh-token), a still valid access token and the granted scopes |
| OAuth2 account, IMAP mode | An IMAP account using XOAUTH2 on the provider's servers |
| Password account | An IMAP account; EmailEngine's `copy` becomes `appendSent` |
| OAuth2 app | A tenant OAuth app with the same client id and secret, or an existing matching one; an app holding our platform client id maps to the platform app |
| Gmail service account app | A Google domain-wide delegation connection with the same key and scopes |
| Outlook application app | A Microsoft app-only connection for the same directory |
| Shared mailbox opened through another account's grant | A shared mailbox of that account, when its grant has `Mail.ReadWrite.Shared` |
| Account name | `displayName`; calendar and contacts turn on only if the grant covers them |
| Stored templates | Public templates become shared templates, account templates follow their account; Markdown templates stay Markdown |

**Listed as not carried over**

Named per account in the plan and report.

- Folder `path` and folder overrides
- Webhooks and `notifyFrom`
- Proxy and TLS options
- Locale and time zone

**Reported as needing a reconnect**

Reported, skipped and signed in again afterward.

- Accounts whose OAuth app is gone or uses the old settings-based configuration
- Credentials from EmailEngine's authentication server
- IMAP logins with integrator-supplied access tokens
- Shared mailboxes opened with their own grant, and grants that only send
- Service account apps without a key file, and Mail.ru accounts

FAQ

## Questions teams ask.

**Will our users have to sign in again?**

Only the accounts the dry run reports as needing a reconnect. Everyone else keeps their existing grant.

**Is there downtime?**

No, EmailEngine keeps serving until you switch. Message ids are new, and change events start after each account's first sync.

**What happens to our webhooks?**

They are not carried over: add endpoints in Workwae and verify deliveries with `parseWebhook``parse_webhook` from the TypeScript or Python SDK. See the [webhooks guide](https://docs.workwae.com/guides/webhooks).

**Do our own OAuth apps keep working?**

Yes; add Workwae's callback URL to connect new accounts through them. Accounts on your own Google app are polled until you set up Gmail push ([connect guide](https://docs.workwae.com/guides/connect)).

**Do calendars and contacts come along?**

Only when the account's grant already covers them.

**Which EmailEngine versions are supported?**

EmailEngine 2.x.

**How do we share the secret and Redis access safely?**

Through a one-time encrypted link, never email or chat, and we delete both after the import. An export you run yourself is planned; SOC 2 is planned, not started.

Not on EmailEngine?

## Bring refresh tokens you already hold.

Register your Google or Microsoft app with the same client id and secret, then import each token with `accounts.create`.

import-account.tsimport-account.py

```ts
const account = await workwae.accounts.create({
  provider: "microsoft",
  refreshToken: storedRefreshToken,
  oauthAppId: yourOAuthAppId, // the workspace OAuth app with your client id
  externalRef: "user-42",
});
```

```python
account = workwae.accounts.create(
    provider="microsoft",
    refresh_token=stored_refresh_token,
    oauth_app_id=your_oauth_app_id,  # the workspace OAuth app with your client id
    external_ref="user-42",
)
```

## Ready to move off EmailEngine?

Tell us about your EmailEngine setup and we will plan the import with you.

[Request early access](https://workwae.com/early-access/) [Talk to us](https://workwae.com/support)
