ae50f56404
Adds a canonical EmailInboundPayload + EmailAdapter implementing the ChannelAdapter contract: HMAC signature verify + normalize with email-native threading (whole reply chain → one IIOS thread via references/inReplyTo root), messageId as providerEventId for dedup, html→text fallback, Re:/Fwd: stripping. Plus emailInboundFixture/emailReplyFixture and unit tests. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
7 lines
375 B
TypeScript
7 lines
375 B
TypeScript
export * from './types';
|
|
export { hmacSign, hmacVerify } from './hmac';
|
|
export { SandboxSink } from './sandbox';
|
|
export { WebhookAdapter, type WebhookPayload } from './webhook-adapter';
|
|
export { EmailAdapter, type EmailInboundPayload } from './email-adapter';
|
|
export { emailFixture, whatsappFixture, emailInboundFixture, emailReplyFixture, signedFixture } from './fixtures';
|