email. The same function the Worker's email export calls on.eml, or replaying something refused while an address wasraw is the whole message, RFC 822, up to 512 KiB induplicate: true andduplicate truecurl --location 'https://api.prod-orm.io/admin/email/ingest' \
--header 'Content-Type: application/json' \
--data-raw '{
"raw": "string",
"envelopeFrom": "user@example.com",
"envelopeTo": "user@example.com"
}'{
"message": {
"id": 0,
"uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
"addressId": 0,
"direction": "in",
"state": "unread",
"threadId": "51f72284-0555-48fe-a20a-4369ee94dc3e",
"parentId": 0,
"messageId": "string",
"inReplyTo": "string",
"from": {
"address": "user@example.com",
"name": "string"
},
"to": [
{
"address": "user@example.com",
"name": "string"
}
],
"subject": "string",
"preview": "string",
"attachments": 0,
"receivedAt": "2019-08-24T14:15:22.123Z",
"assignedTo": 0,
"sentBy": 0
},
"address": {
"id": 0,
"uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
"address": "user@example.com",
"label": "string",
"routesTo": [
0
],
"active": true,
"ownerId": 0,
"routing": {
"managed": true,
"ruleTag": "string",
"error": "string"
},
"createdBy": 0,
"createdAt": "2019-08-24T14:15:22.123Z",
"counts": {
"unread": 0,
"read": 0,
"archived": 0,
"spam": 0
}
},
"duplicate": true
}