Skip to content
Get a quote

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.

By

Step one: find where the emails are

How the emails got into SalesforceWhere they’re storedExportable?
Enhanced Email (Gmail/Outlook integration, send from Salesforce)EmailMessage and EmailMessageRelation, plus a Task for compatibilityYes, via API or Data Loader
Older logging or Salesforce for OutlookTask with Type = Email (subject and description)Yes
Einstein Activity Capture, legacy setupOutside standard objectsNo. Salesforce says this data “couldn’t be exported”
Einstein Activity Capture with “Sync Email as Salesforce Activity” (since Summer ‘25)Task and EmailMessageYes, 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 or HubSpot migrations.

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.

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