email.received
Webhook event triggered when an inbound email is received.
The email.received event is triggered when an inbound email is successfully received by Reloop.
Event Details
All webhook payloads follow a consistent top-level structure with event-specific data nested within the data object.
type string
The event type that triggered the webhook (e.g., email.received).
created_at string
ISO 8601 timestamp when the webhook event was created.
data object
Contains the full inbound email content, including headers, body, and attachments.
Handling this event
When your endpoint receives an email.received event, you might want to:
- Process inbound messages for your application.
- Extract data from the email body.
- Store attachments in your cloud storage.
{
"type": "email.received",
"created_at": "2023-01-01T12:00:00Z",
"data": {
"email_id": "in_123456789",
"from": "sender@example.com",
"to": ["inbound@yourdomain.com"],
"subject": "Inbound Message",
"body": "Hello, this is an inbound email.",
"timestamp": "2023-01-01T12:00:00Z"
}
}Learn More
Was this page helpful?