mirror of
https://github.com/Unstructured-IO/unstructured.git
synced 2025-06-27 02:30:08 +00:00

also removes mimetype when base64 is not included in image metadata --------- Co-authored-by: ryannikolaidis <ryannikolaidis@users.noreply.github.com>
59 lines
1.9 KiB
JSON
59 lines
1.9 KiB
JSON
[
|
|
{
|
|
"type": "NarrativeText",
|
|
"element_id": "4196fe41da19e8657761ecffcafd3d2f",
|
|
"text": "Jane. This is a test of sending you an email from Salesforce! _____________________________________________________________________ Powered by Salesforce http://www.salesforce.com/",
|
|
"metadata": {
|
|
"languages": [
|
|
"eng"
|
|
],
|
|
"filetype": "message/rfc822",
|
|
"email_message_id": "KhIK4000000000000000000000000000000000000000000000RZP1T400CmuP1P5wTm2m679gi-mnIg@sfdc.net",
|
|
"sent_from": [
|
|
"devops+salesforce-connector@unstructured.io"
|
|
],
|
|
"sent_to": [
|
|
"jane_gray@uoa.edu"
|
|
],
|
|
"subject": "Test of email 1",
|
|
"data_source": {
|
|
"url": "/services/data/v57.0/sobjects/EmailMessage/02sHu00001efErPIAU",
|
|
"version": "1694691603.0",
|
|
"record_locator": {
|
|
"id": "02sHu00001efErPIAU"
|
|
},
|
|
"date_created": "1692542056.0",
|
|
"date_modified": "1692628456.0"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Image",
|
|
"element_id": "f714fa214dac2f441515c4f28370d279",
|
|
"text": "",
|
|
"metadata": {
|
|
"image_url": "https://unstructuredio-dev-ed.develop.my.salesforce.com/servlet/servlet.ImageServer?oid=00DHu0000018RDe&esid=018Hu00001JMmTZ&from=int",
|
|
"languages": [
|
|
"eng"
|
|
],
|
|
"filetype": "message/rfc822",
|
|
"email_message_id": "KhIK4000000000000000000000000000000000000000000000RZP1T400CmuP1P5wTm2m679gi-mnIg@sfdc.net",
|
|
"sent_from": [
|
|
"devops+salesforce-connector@unstructured.io"
|
|
],
|
|
"sent_to": [
|
|
"jane_gray@uoa.edu"
|
|
],
|
|
"subject": "Test of email 1",
|
|
"data_source": {
|
|
"url": "/services/data/v57.0/sobjects/EmailMessage/02sHu00001efErPIAU",
|
|
"version": "1694691603.0",
|
|
"record_locator": {
|
|
"id": "02sHu00001efErPIAU"
|
|
},
|
|
"date_created": "1692542056.0",
|
|
"date_modified": "1692628456.0"
|
|
}
|
|
}
|
|
}
|
|
] |