Skip to main content
A minimal support agent: when an email arrives, an LLM drafts a reply and SentFromAI sends it back in the same thread. The pattern is webhook → generate → reply.

1. Register a webhook

Store the returned signing secret.

2. Handle inbound and reply

Replies thread automatically — SentFromAI sets In-Reply-To/References and prefixes the subject with Re:. No need to track headers yourself.

Going further

  • Add a block list rule so the agent ignores known spammers.
  • Use the realtime WebSocket instead of (or alongside) webhooks for a live view.
  • Want native tools instead of REST? Connect via MCP.