We have Einstein Activity Capture activated in our Org. We want the synced events and mail to be part of our custom component. Since these records are not stored in Salesforce we are not able to show them in custom component.
As per this help document (https://help.salesforce.com/s/articleView?id=sf.aac_event_considerations.htm&type=5) when Related synced events to Salesforce records setting is on, the events get added automatically to the activity timeline of related account, contact, and lead records. The events on the timeline are Salesforce records and are available in standard reports and other Salesforce Platform capabilities. In our Org this setting is ON but all events are stored as Salesforce records.
As per the EAC documentation, the emails and events are stored in SF AWS servers. They are fetched from there and displayed in the activity timeline of the related Contact, Leads etc. We want to show emails in our custom components.
Are there any API available where we can fetch the emails and events from AWS server, store them in SF and the show in our custom components?