---
title: "Migrate emails logged in Salesforce to HubSpot"
description: "Salesforce emails live as EmailMessage records or Type=Email tasks, and legacy Einstein Activity Capture kept them outside both. How to get them into HubSpot."
url: "https://flitstack.ai/answers/migrate-salesforce-emails-to-hubspot"
---

# How do I migrate emails logged in Salesforce to HubSpot?

Short answer

First find where Salesforce stored the emails. Enhanced Email keeps them as EmailMessage records, older setups as tasks with Type = Email, and legacy Einstein Activity Capture outside standard objects altogether. Export what's in standard objects, then load it with Smart Transfer or as HubSpot email activities with Email body, Email direction and Activity date, associated to the right contacts.

![](https://flitstack.ai/images/authors/aditya-kumar.webp)By [Aditya Kumar](https://flitstack.ai/about/aditya-kumar) Updated November 5, 2026

[Ask us about your migration ](https://flitstack.ai/contact) [Read the full guide →](https://flitstack.ai/migrations/crm/hubspot)

## Step one: find where the emails are

| How the emails got into Salesforce                                                    | Where they’re stored                                                     | Exportable?                                          |
| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------ | ---------------------------------------------------- |
| Enhanced Email (Gmail/Outlook integration, send from Salesforce)                      | `EmailMessage` and `EmailMessageRelation`, plus a Task for compatibility | Yes, via API or Data Loader                          |
| Older logging or Salesforce for Outlook                                               | `Task` with Type = Email (subject and description)                       | Yes                                                  |
| Einstein Activity Capture, legacy setup                                               | Outside standard objects                                                 | No. Salesforce says this data “couldn’t be exported” |
| Einstein Activity Capture with “Sync Email as Salesforce Activity” (since Summer ‘25) | `Task` and `EmailMessage`                                                | Yes, from when the setting was on                    |

If your team used legacy EAC, the history may exist only in the reps’ mailboxes. Then the source is Gmail or Outlook, not Salesforce. This is the point the EAC thread turns on, and HubSpot’s docs don’t cover it.

## What the native tools do / where they stop

- **Smart Transfer** syncs Salesforce Email Messages as HubSpot email activities. It can only move what sits in standard objects.
- **HubSpot’s import tool** creates email activities from a file. It needs **Email body** and **Email direction** (Incoming or Outgoing). Without **Activity date**, it uses the import time. Imported emails can’t be updated afterwards.
- **Connecting inboxes to HubSpot** doesn’t backfill. HubSpot says historical emails “will not be logged to the CRM automatically.”

## Steps (import route)

1. Query EmailMessage (`Subject`, `TextBody`, `FromAddress`, `ToAddress`, `MessageDate`, `Incoming`) and EmailMessageRelation for the people involved.
2. Turn `Incoming` into Email direction values.
3. Resolve each email to its HubSpot contact by email address, and to its deal or company by Salesforce ID.
4. Map `MessageDate` to Activity date and the sender’s user to the activity owner.
5. Import a sample, check the threads on a few contact timelines, then import the rest.

## Where FlitStack AI fits

FlitStack AI reads EmailMessage and email tasks through the Salesforce API. It loads them as HubSpot email activities with original dates, owners and associations. See [Salesforce to HubSpot](https://flitstack.ai/migrations/crm/salesforce-sales-cloud/to/hubspot) or [HubSpot migrations](https://flitstack.ai/migrations/crm/hubspot).

![Aditya Kumar](https://flitstack.ai/images/authors/aditya-kumar.webp)

About the author

[Aditya Kumar](https://flitstack.ai/about/aditya-kumar)

Founder, FlitStack AI

Aditya Kumar is the founder of FlitStack AI and Jetstack AI, both built at Ambrstack. FlitStack AI migrates CRM and business data between platforms; Jetstack AI is the AI platform HubSpot partners and RevOps teams use to audit portals, build implementations and reuse their best setups across portals. He writes about CRM data, migrations, HubSpot architecture and automation from the work of building them.

[More from Aditya](https://flitstack.ai/about/aditya-kumar) [LinkedIn](https://www.linkedin.com/in/aditya-ambrstack/)

On this page

Questions, answered

## A few useful answers.

Can I export Einstein Activity Capture emails?

In legacy setups, no. Salesforce says EAC email data wasn't stored in standard objects and couldn't be exported. Since Summer '25, EAC can store emails as Task and EmailMessage records, but only from when that setting is on.

Will email attachments come over?

Not as part of the email activity. Upload the files to HubSpot, then attach them by file ID or link them from the email body.

Do we need the full HTML body?

No. Plain text keeps the timeline readable and avoids broken inline images. Keep the HTML in an archive if you need it.

## Related

### [Migrate to HubSpot](https://flitstack.ai/migrations/crm/hubspot)

[Read →](https://flitstack.ai/migrations/crm/hubspot)

### [Salesforce to HubSpot migration](https://flitstack.ai/migrations/crm/salesforce-sales-cloud/to/hubspot)

[Read →](https://flitstack.ai/migrations/crm/salesforce-sales-cloud/to/hubspot)

### [What does the HubSpot importer keep, and what does it drop?](https://flitstack.ai/guides/hubspot-import)

[Read →](https://flitstack.ai/guides/hubspot-import)

## Sources

1. [Salesforce Help: Einstein Activity Capture sync email as Salesforce activity](https://help.salesforce.com/s/articleView?id=004633781\&language=en_US\&type=1)
2. [Salesforce Help: Insert EmailMessage records with Data Loader](https://help.salesforce.com/s/articleView?id=000380515\&language=en_US\&type=1)
3. [HubSpot: Set up your import file (email activities)](https://knowledge.hubspot.com/import-and-export/set-up-your-import-file)
4. [HubSpot: HubSpot's default activity properties](https://knowledge.hubspot.com/properties/hubspots-default-activity-properties)
5. [HubSpot: Supported apps for HubSpot Smart Transfer](https://knowledge.hubspot.com/integrations/supported-apps-for-hubspot-smart-transfer)

A closer look

## Tell us what you’re moving.

Share your source, destination and rough record counts. We scope the migration and the process work with you and send you a quote.

[Get a quote](https://flitstack.ai/contact)
