Inbound email for Amazon SES
Keep SES for sending. Add application-aware replies.
Put a Linje-generated address in Reply-To. When the recipient replies,
Linje returns the message, attachments, and original application context as a signed,
replayable webhook event.
A separate inbound boundary
Do not assemble the inbound half of SES unless you want to own it.
Amazon SES can receive email. Its native model uses receipt rules and can pass messages through services such as S3, SNS, and Lambda. Your application then owns the remaining parsing, correlation, delivery, and operational lifecycle.
Application context
Create a reply route for one real object.
curl -fsS \
-H "Authorization: Bearer $LINJE_PROJECT_TOKEN" \
-H "Idempotency-Key: 018f47d2-89ab-4cde-8123-456789abcdef" \
-H "content-type: application/json" \
-d '{
"inbox-id":"claims",
"metadata":{
"claim_id":"claim_123",
"customer_id":"cus_17"
}
}' \
https://api.linje.systems/v1/reply-routes
{
"reply-route": {
"id":"route_...",
"address":"r+012345...@in.linje.systems",
"metadata":{
"claim_id":"claim_123",
"customer_id":"cus_17"
}
}
}
Reply to application event
Receive the reply with the route context attached.
POST https://app.example.com/linje/inbound
x-linje-inbound-id: ...
x-linje-delivery-id: ...
x-linje-timestamp: ...
x-linje-signature: sha256=...
{
"schema":"linje.inbound-email.v1",
"route": {
"id":"route_...",
"metadata":{
"claim_id":"claim_123",
"customer_id":"cus_17"
}
},
"content":{"text":"The requested photo is attached."},
"attachments":[
{"filename":"photo.pdf","download":{"url":"https://api.linje.systems/..."}}
]
}
The complete product
Linje can also send the outbound email.
The SES sidecar is one adoption path. Linje remains bidirectional application email infrastructure: transactional email out, inbound email and replies back into your application. Move neither, either, or both directions based on the boundary you need.
Self-service quickstart
Add replies to one real SES email flow.
Choose one order, claim, case, or document request. Keep the existing SES send, add the
generated Reply-To, and verify that a real reply reaches the correct object.