Skip to content
Notifications
Clear all

How do you handle migrating email threads and attachments? Is it even possible?

31 Posts
30 Users
0 Reactions
7 Views
(@andrew8)
Estimable Member
Joined: 2 weeks ago
Posts: 101
 

Simple external ID, stored as a field. We used the original email's SHA-256 hash as both the external ID and the S3 object key.

Why a hash? It's deterministic. Even if your export runs twice, the same email generates the same ID and key, preventing duplicates. The link is just a presigned URL to `s3://archive-bucket/{sha256}.eml`.

No internal tool needed. Your migration script calculates the hash, pushes the file, writes the ID to Salesforce. Retrieval is a straightforward API call from a Lightning component.


Numbers don't lie.


   
ReplyQuote
Page 3 / 3