AI Email Replies From Your Own Documents: Setup Guide

Alexandra SwanMay 27, 20268 min

Most AI writing tools sound confident and wrong. Ask a generic assistant to answer a refund request and it invents a policy. Ask it to quote your enterprise pricing and it guesses. The problem is rarely the model. It is that the model has never seen your refund policy, your price list, or the way you actually talk to customers.

Generating emails from your documents fixes that in a specific way. When a message lands in your inbox, the AI reads it, searches the policies, product sheets, and procedures you uploaded, and drafts a reply using your facts in your voice. No copying from a PDF, no tab-switching to a wiki, no hoping a chatbot remembers what you pasted last Tuesday.

This guide covers which documents to gather, the five-step setup, a worked example, how to teach the assistant your tone from email you have already sent, and the limits to plan around. The setup is described in InboxPilot, which is our product, so the fit section at the end says where it is the wrong tool.

Key takeaways

  • Document-grounded drafting means retrieval, not memory: the AI searches your uploaded files on every email and writes from what it finds.
  • It beats pasting into a chatbot because the knowledge stays attached to the inbox and applies to the whole team, not one session.
  • Start with three to five core documents, not the company wiki. A refund policy, a price sheet, and product specs cover most inbound questions.
  • Setup is five steps: connect the inbox, upload files, add FAQ and website sources, write the automation, test in Playground.
  • InboxPilot, which is us, keeps the documents attached to Gmail and Outlook so drafts wait in the inbox where the conversation is, with auto-send opt-in per workflow.
  • Start in draft mode and plan for the limits: a draft is only as current as the file behind it.

What generating emails from your documents means

In practice, your documents become a searchable knowledge base the AI consults on every incoming email. The technical name is retrieval-augmented generation, usually shortened to RAG. From your side it feels simpler: the assistant knows your refund window because you uploaded Refund-Policy-2026.pdf, not because it read the whole internet.

When InboxPilot drafts an email from your documents, four things happen in sequence:

  1. It reads the incoming message and works out what is being asked: refund, pricing, shipping, scheduling.
  2. It retrieves the most relevant passages from your Knowledge Base, which holds your uploaded files, FAQ pairs, website pages, and templates.
  3. It drafts a reply in your configured tone, with the facts taken from those passages rather than invented.
  4. It leaves the result as a draft in Gmail or Outlook for review, or sends it automatically if you have switched that on for this particular automation.

That is different from pasting an email into a chat window. The knowledge stays attached to your inbox, updates when you update the files, and applies consistently across everyone on the team.

Why documents beat pasting into a chatbot

Teams that live in email already have the answers written down. They sit in PDFs, Word files, onboarding decks, and internal wikis. The win is connecting that library directly to the inbox instead of rewriting it into prompts every morning.

ApproachWhat you getMain risk
Generic AI chatFast draftsInvented policies, wrong prices, off-brand tone
Autocomplete suggestionsPhrasing that matches youNo access to your policies or procedures
Static templatesConsistent wordingBreaks the moment the question does not match the template
Document-grounded AIAccurate replies from your own materialQuality depends on what you upload, which is fixable in minutes

The shift is not only speed. It is trust. You are not hoping the model remembered your policy. You uploaded it, and when a draft is wrong the fix is to correct the document once rather than the reply every time.

What to gather before you start

You need three things:

  • A Gmail or Microsoft 365 Outlook inbox you want assisted or automated. Shared inboxes such as support@ or billing@ work the same way as a personal one.
  • An InboxPilot account. The free plan covers 25 conversations a month on one inbox with no card, which is enough to judge draft quality on real mail.
  • Three to five core documents. Common starting points: refund and returns policies, price sheets and plan comparisons, product specifications, onboarding guides, service level terms.

The Knowledge Base accepts PDF, Word, spreadsheets, and other common business formats in its Files tab. InboxPilot extracts the text, indexes it, and consults it when drafting. Resist uploading the entire company wiki on day one. A refund policy plus a handful of FAQ pairs is enough to see whether the drafts are good, and you expand from there.

Set it up in five steps

Step 1: Connect your inbox

Sign up, connect an inbox, and choose Gmail or Outlook. The consent screen asks for scoped access to read and draft in the inbox you select, and nothing else. You can revoke it from your Google or Microsoft account at any time.

Starter and Growth include one inbox, Business three and Scale ten, and any paid plan can add more at $15 a month each. Each inbox can carry its own documents. That matters when support@ and billing@ should not share the same policy files.

Step 2: Upload your documents

Open the Knowledge Base and go to the Files tab. Upload or drag in your documents, wait for processing to finish, and confirm each file appears in the list.

One habit pays off immediately: clear filenames. Refund-Policy-2026.pdf and Enterprise-Pricing-Q3.docx make it obvious which source produced which answer when you test, and which file to replace when a policy changes.

Step 3: Layer the sources files cannot cover

Documents carry narrative policy well. Most teams get the best drafts by combining the Knowledge Base tabs:

TabBest for
FilesPolicies, manuals, long-form PDFs, internal procedures
FAQExact answers to high-stakes questions, such as "What is your refund window?"
WebsiteYour public help centre and docs, kept current by crawl
Raw textShort facts: pricing tiers, opening hours, escalation rules
TemplatesReusable reply structures the AI picks by intent

Use Files for depth and FAQ for precision. If a question must be answered identically every time, write it as an FAQ pair rather than trusting retrieval to land on the right paragraph of a 30-page handbook. Templates add the third layer, structure, and our guide to automating Gmail covers how they combine with filters and labels.

Step 4: Write the automation and decide what a person must see

In Automations, describe the workflow in plain English. For example: "When a customer asks about a refund, check the returns policy, draft a reply with the correct window and steps, and leave it for review." Then add a second rule for what must always reach a human: "If an email mentions a lawsuit, a chargeback, or a complaint about a named employee, label it Escalate and do not draft."

Two settings decide how your documents show up. A short instruction sets who is writing, for instance "You are a support agent for Acme. Be concise and friendly, and never promise features not listed in the product documents." And the send mode: every automation starts in draft mode, where each reply waits in the inbox for a person. Auto-send is a per-automation switch for later, available from the Growth plan up.

Let InboxPilot draft your replies.

Step 5: Test in Playground, then go live

Before any customer sees an AI reply, open Playground and paste in the sample emails you actually receive every week. Playground is a sandbox: nothing sends and no live thread changes. Check whether each draft cites the right policy in the right tone. When an answer is wrong or thin, add a targeted FAQ pair or upload the missing document, then run it again.

When the drafts look right, switch the automation on. New mail is processed against your files, FAQ, and templates, and drafts appear in Gmail or Outlook. Edit any draft you disagree with before sending. A rollout that works for most teams: week one, one inbox and three to five documents in draft mode; week two, FAQ pairs for the ten most common questions; week three, auto-send for two or three safe, well-documented topics, with everything else still drafting.

A worked example: a refund question becomes a grounded draft

Say you have uploaded a returns policy with a 30-day window, a requirement that items be unworn, and a five to ten business day refund timeline. A customer writes:

Subject: Return?

Hi, I ordered a jacket on the 2nd and it arrived on the 9th but it is too big. Can I still return it and how long does the refund take? Thanks, Priya

InboxPilot matches the intent to returns, retrieves the window, condition, and timeline from the uploaded policy, and leaves this draft:

Hi Priya,

Yes, you can. Returns are accepted within 30 days of delivery, so you have until the 8th of next month, and the jacket just needs to be unworn with the tags on. To start it, [return steps or portal link]. Once the carrier scans the return, the refund goes back to your original payment method within five to ten business days.

If you would rather swap it for a smaller size, reply with the size and I will set that up instead.

Sam

Every fact in that draft came from the policy file. If the window changes to 45 days next quarter, you replace the file and the next draft says 45. When a question is not covered by any source, the draft should say what it does not know and hand off rather than guess, and adding the missing document closes the gap for every future email on that topic.

Teach it your tone from the email you already send

Documents supply the facts. Your sent mail supplies the voice. InboxPilot can learn phrasing and tone from replies you have already sent, so drafts read like your team rather than like a policy document being recited. This is the part people used to search for as training Gmail on your own data, and it is a setting rather than a project: connect the inbox, let it read your past replies, and the drafts pick up your greetings, sign-offs, and level of formality.

Two cautions. Tone learning does not make an old reply a source of facts, so a price you quoted in March does not override the price sheet you uploaded in September. And if the sent folder is mostly one-line internal replies, give the assistant a few complete customer emails to learn from first.

Write documents for retrieval, not for print

Use descriptive headings such as "Refund eligibility" and "Enterprise pricing", keep one topic per section, and do not bury the refund window on page 12 of a general handbook. Retrieval finds well-labelled sections and struggles with sprawl.

Keep the index current. When a policy changes, replace the file the same day. A grounded draft from a stale document is wrong with confidence, which is the exact failure you set this up to avoid.

Pair documents with templates for structure. If you often send the same shape of reply, a demo follow-up, an onboarding checklist, a quote response, save it in the Templates tab with a line on when to use it. The AI blends the template structure with facts from your files.

Start narrow, then expand. The fastest teams validate one inbox and one topic before adding the next, rather than uploading everything and auditing nothing.

The limits worth planning for

Document-grounded drafting is the most reliable way to get accurate AI email, and it still has edges worth stating plainly.

  • Quality tracks your uploads. Thin, outdated, or contradictory documents produce thin, outdated, or contradictory drafts. The fix is fast, but it is on you.
  • Files do not update themselves. Uploaded documents are snapshots. Website pages stay fresher through the crawl; internal PDFs need a re-upload when policy moves.
  • Some topics should never auto-send. Refunds outside policy, legal threats, and angry escalations belong with a human, which is what the escalation rule in step four is for.
  • Sensitive material needs judgment. If a document contains data you would not want quoted in an outbound email, such as full customer lists or unreleased financials, keep it out of the Knowledge Base or restrict those threads to draft-only with mandatory review.

None of these are reasons to skip the setup. They are reasons to start in draft mode and expand automation only where the drafts have earned it.

Where InboxPilot fits

InboxPilot is an inbox-native AI email agent: it works inside Gmail and Outlook, including shared inboxes, with no migration and no new interface for the team. Documents in the Knowledge Base are one grounding source among several, alongside your website, FAQ pairs, templates, and past email, and every draft waits for approval by default with auto-send opt-in per workflow.

Your documents ground replies for your organisation's agent only. Customer data never trains AI models, and InboxPilot is SOC 2 Type II and GDPR compliant; the security page has the detail, and our data privacy guide covers what to ask before connecting documents to any AI tool. Pricing is by conversations handled, meaning email threads InboxPilot acted on, with inbound email unlimited and no per-seat fees. Free covers 25 conversations a month on one inbox, Starter is $39 a month for 300 with integrations, and Growth is $99 a month for 1,500 with up to five team members, unlimited workflows, and auto-send. Past the allowance, extra conversations cost $0.05 each and never more than the next plan up. Full detail is on the pricing page.

To be honest about fit: this workflow is built for repetitive operational email, quotes, order status, returns, document collection, routine support. InboxPilot works on the email a team shares in Gmail and Outlook, and stops short of live chat, ticket queues, and one executive's personal inbox. And if your questions are few and identical, Gmail's own templates answer them without any of this machinery.

Your policies and product documents already contain the answers your inbox needs every day. If retyping them is the piece of your week you want back, start on the free plan, upload your first three documents, and run five real questions through Playground against your own mail.


This guide describes InboxPilot's Knowledge Base, Automations, and Playground as they work in September 2026. Retrieval-augmented generation is described in general terms; no external statistics or customer figures are cited in this post. InboxPilot is the publisher of this article.

Frequently asked questions

Will the AI make up facts that are not in my documents?

Grounding drafts in your uploads is the main defence, and the setup does the rest: a short instruction that says who is writing, FAQ pairs for answers that must be exact, an escalation rule that routes sensitive topics to a person with no draft, and draft mode while you validate. When information is missing, the draft should hand off rather than guess, and you close the gap by adding the missing document or FAQ pair.

What file types can I upload to generate emails from?

The Knowledge Base Files tab accepts PDF, Word, spreadsheets, and other common business formats. Files are one source among several: you can also add FAQ pairs, crawl your public website, paste raw text for short facts, and save reply templates. The AI combines all of them when drafting, and it can also learn tone from replies you have already sent.

Do I need to re-upload documents when policies change?

Yes, for uploaded files. Replace the file in the Files tab whenever the source of truth changes, so the index stays current. Content that lives on your public website stays fresher through the Website tab's crawl, which is why internal-only policy belongs in Files and public help content belongs in Website.

Can the AI draft from my documents without sending automatically?

Yes, and that is the recommended starting point. In draft mode every generated reply lands in Gmail or Outlook for a person to review, edit, and send. Auto-send is a switch you turn on per automation, and most teams enable it only for narrow, well-documented topics after a week or two of watching the drafts.

How is this different from attaching a PDF to ChatGPT?

A chat tool answers one question in one session, and only about what you pasted that day. An inbox-native agent keeps your documents attached to the inbox itself: it sees each incoming thread, retrieves the relevant passages automatically, drafts in your tone, applies your escalation rules, and does the same for everyone on the team. The knowledge persists instead of living in one person's chat history.

Let InboxPilot draft your replies.

Connect your inbox and InboxPilot drafts a reply on every email, automatically. Free, no card.

View pricingNo credit card required

Start with the emails you’re tired of.

Connect Gmail or Outlook, point InboxPilot at a few documents, and see your first drafts today.

No credit card. Nothing sends without your approval.