rg://grounded-agent


Email and chat, grounded in your docs.

The grounded AI assistant that answers customers wherever they ask. Run it on your inbox, your website, or both — same KB, same tone, same audit trail. Strict mode by default: the bot will not answer anything not in your docs.

Email agentChat widgetStrict KB groundingPer-tenant caps
The problem

Your team answers the same ten questions a hundred times a day.

Support inboxes are a queue of repeats. The answer is already in your docs — a policy, a product spec, a how-to. But the human in the loop still has to find it, phrase it, and paste it. Meanwhile first-response time slips, tone drifts, and nobody can audit why a reply said what it said.

  • Repetitive questions eat senior time. The answer is never the hard part — the lookup is.
  • Docs update. Replies don't. Last month's policy ships this month's email.
  • You have no audit trail. Just a Gmail thread and a memory.
  • Escalations happen by vibe, not by rule.
Two channels, one brain

Answer support wherever your customers ask.

Same knowledge base, same tone, same audit trail. Orepli meets customers where they are — in your inbox and on your site — and routes the rest to a human with a clean summary of the conversation so far.

Channel 01 · Inbox

Email agent

Connect Gmail or IMAP. Every inbound message is classified, grounded against your KB, drafted, and either auto-sent above your confidence threshold or queued for review. Cited, logged, and reversible.

  • Gmail OAuth + IMAP/SMTP
  • Per-mailbox tone & KB
  • Full audit timeline
Channel 02 · On-site

Chat widget (new)

Drop a one-line script on any page. Visitors get a grounded assistant that answers from the same KB your mailboxes use. When it can't help, the visitor escalates — Orepli emails your team a clean summary of the chat.

<script src="https://orepli.com/widget.js"
  data-orepli-key="pk_live_…" async></script>
  • Origin allowlist & API key rotation
  • AI summary on escalation
  • Live preview in admin before launch
How it works

From inbound to sent in under ten seconds.

Every email runs through four gates: connect, ground, classify, reply. You keep control at each one. Turn auto-send on when you're comfortable. Leave it off forever if you prefer every reply reviewed.

01

Pick your channels

Run Orepli on email only, on a chat widget only, or both — they share one knowledge base. Connect Gmail in a click, plug an IMAP mailbox, or generate a one-line embed snippet for your site.

Email · Chat widget · Both
02

Upload your knowledge

Drop in FAQs, policies, SOPs, product docs. Orepli chunks, embeds, and scopes them to whichever channel needs them. Copy a mailbox's KB into a widget for an independent snapshot.

PDF · DOCX · MD · TXT · XLSX
03

Lock the bot to your docs

Strict KB mode is on by default — the chat refuses anything not in your docs. For email, set a confidence threshold for auto-send. Pick a tone per mailbox. Start in draft-only until you trust it.

Strict KB · Confidence threshold · Tone
04

Watch it work

Every reply cites its KB chunks. Every Claude call shows up in your usage page. Skipped emails (newsletters, bounces) get a reason. Hard cap at 2× plan tokens — admin-tunable per tenant.

Cited · Logged · Capped · Reversible
What's inside

Opinionated defaults. Every knob where you need one.

Built on the stack that serious RAG teams already run — Postgres with pgvector, Claude for generation, explicit citations, per-tenant isolation. No black box.

01

Grounded retrieval

Every draft cites the KB chunks it was built from. pgvector under the hood. Swap the embedder if you need HF, OpenAI, or local.

02

Confidence gating

Replies only auto-send when model confidence clears your threshold. Everything else becomes a draft or a routed escalation.

03

Tone control

Per-mailbox voice — terse, warm, formal, technical. Different queues, different voices, same knowledge base.

04

Smart escalation

Edge cases forward to the right human with the reason, the retrieved context, and the draft we would have sent.

05

Multi-tenant audit

Received → classified → retrieved → drafted → sent. Every step is logged, queryable, and isolated per tenant.

06

Dead-letter queue

Failures never silently disappear. Retry, inspect, or escalate. Your ops team gets a real picture of what broke and why.

07

Embeddable chat widget

One-line embed on any site. Shares the mailbox's KB and tone. Per-widget origin allowlist, rotatable public key, AI-summarised escalation to a human.

08

One plan, two channels

Email traffic and chat traffic both bill against the same monthly token pool. One invoice, one quota, no surprise line items.

Proof trail

Every reply shows its work.

Cited chunks, confidence score, model, latency, token count. When a draft ships, you can trace back why — and when it doesn't, you see exactly which rule caught it.

TRACE_01Email #4821
intentrefund
confidence0.92 > 0.80 threshold
citedrefund-policy.md · shipping-sop.md
modelclaude-3-5-sonnet
tokens1,104 in · 226 out
latency9.34s
actionsent
escalatedno
Pricing

Usage-honest pricing. No per-seat nonsense.

Pick the plan that fits your mailbox count and monthly token budget. Overage is linear — no surprise bills, no throttles. Upgrade or downgrade any time.

Starter
$49 /mo

For a founder or a small team automating a single support queue.

  • 1 mailbox
  • 10M tokens / month
  • Gmail + IMAP/SMTP
  • Draft-only or auto-send
  • Email support
Start Starter
Scale
$199 /mo

For teams scaling RAG-native email across brands or regions.

  • 5 mailboxes
  • 100M tokens / month
  • Everything in Growth
  • Extra mailboxes $12/ea
  • Slack support
Start Scale
FAQ

Answers before you ask.

Still have questions? sales@orepli.com — we reply with Orepli, obviously.

Will Orepli send emails without my approval?

Only when the draft's confidence score is above the threshold you set on the mailbox. Everything under the threshold becomes a reviewable draft or gets escalated. You can also run a mailbox in draft-only mode indefinitely.

Which email providers work?

Gmail via OAuth, or any IMAP/SMTP inbox with TLS. Credentials are encrypted at rest with a tenant-scoped key. OAuth tokens are refreshed automatically.

What AI model does it use?

Claude from Anthropic by default, with a mock mode for local development. Embeddings default to a deterministic local hash embedder; you can switch to Hugging Face sentence-transformers or a managed provider via a single env var.

How do you handle my data?

Knowledge base documents are scoped to the mailbox you upload them to. Email content is stored per tenant in Postgres with pgvector. You can request export or deletion at any time. See the Privacy page for the full picture.

Can I try it before paying?

Yes. Register a workspace, connect a mailbox, run inbound emails through the simulator, and preview drafts before turning on auto-send. No card needed to evaluate.

Do you offer self-hosting?

Yes, for Scale customers and above. The stack is FastAPI + Postgres + pgvector + Next.js, deployable via Docker Compose. Contact sales@orepli.com to discuss.

How does the chat widget work?

Create a widget in admin, attach it to a mailbox, and you get a one-line embed script with a public key (pk_live_…). Drop it on any page. The widget answers from that mailbox's knowledge base and tone. Per-widget origin allowlist blocks abuse, the key is rotatable, and visitors can escalate — Orepli emails your team a clean AI-generated summary of the chat.

Is the chat widget included in my plan?

Yes. Email traffic and chat traffic share the same monthly token pool on your plan. No separate SKU, no per-conversation surcharge. Widget calls are tracked against your usage the same way email calls are.

Get started

Stop answering the same email. Start reviewing replies.

Spin up a workspace, connect a mailbox, upload a KB, and watch the pipeline work on your real inbox. No credit card to evaluate.