Import a forwarded email
POST
/import/email
Root-level public forwarding endpoint, not under /api/v1. The recipient must be PROJECT_ID@EMAIL_FORWARD_DOMAIN. Plain text is imported when present; HTML-only email is stripped to text. Attachments are ignored. If the parsed BCC contains the project forwarding address and the sender matches a configured outbound email identity for the project, the email is stored as a sent, triaged thread reply instead of Inbox mail.
Request Body
application/json
JSON "to": "string", "from": "string", "bcc": "string", "subject": "string", "text": "string", "message_id": "string", "references": "string", "in_reply_to": "string", "headers": { }, "attachments": [ { } ]
{
}
Responses
Accepted or safely ignored
application/json
JSON "accepted": true, "email_id": "string"
{
}