MCPcopy Create free account
hub / github.com/Mnexa-AI/e2a / CreateInboundMessage

Method CreateInboundMessage

internal/loopback/loopback.go:185–185  ·  view source on GitHub ↗
(ctx context.Context, id, agentID, senderEmail, recipient, emailMessageID, subject, conversationID, deliveryStatus string, rawMessage []byte, authHeaders map[string]string, authVerdict []byte, flagged bool, flagReason string, toRecipients, cc, replyTo []string, screening identity.InboundScreening)

Source from the content-addressed store, hash-verified

183// Lets tests swap in fakes; production code passes the real store.
184type InboundWriter interface {
185 CreateInboundMessage(ctx context.Context, id, agentID, senderEmail, recipient, emailMessageID, subject, conversationID, deliveryStatus string, rawMessage []byte, authHeaders map[string]string, authVerdict []byte, flagged bool, flagReason string, toRecipients, cc, replyTo []string, screening identity.InboundScreening) (*identity.Message, error)
186}
187
188// DeliverInbound writes the recipient-side row for a loopback self-send

Callers 13

createInboundFunction · 0.65
labelsTestSetupFunction · 0.65
seedUserDataFunction · 0.65
DeliverInboundFunction · 0.65
deliverToAgentMethod · 0.65
performSelfSendMethod · 0.65
seedHeldInboundFunction · 0.65

Implementers 1

Storeinternal/identity/store.go

Calls

no outgoing calls