Intermediate 10 minDesktop

Reply to your emails with a local AI (LLM private)

Direct response

Yes, a local LLM can generate draft replies to your emails, as long as you keep them as drafts for review and never send them automatically. The realistic architecture is an email client (Thunderbird, for example) equipped with an extension that queries a model running on your machine through Ollama, without the message contents leaving your computer. You remain the final author: the model suggests, you edit, and you send.

Replying to email with a local AI does not mean delegating sending to a robot: it means using a model running on your machine to prepare a draft, which you review and adjust before clicking Send. This guide describes a realistic architecture using tools that exist today, along with what to check before trusting an automatically generated draft.

By Mohamed Meguedmi·Update 2026-09-28·Tested on Windows, macOS, and Linux

#The principle: draft, never send automatically

The goal here is not to have a robot reply on your behalf, but to reduce the time spent drafting repetitive or standard responses: acknowledgments, replies to frequently asked questions, and rewrites of an overly informal draft. The LLM generates text, you read it, correct it if needed, and decide whether to send it. No step in this process should be automated through sending without human validation.

!
What this guide does not cover
This guide does not cover complete email automation (automatic sorting, unsupervised sending, n8n workflows). For a broader automation pipeline with Ollama, see the dedicated n8n guide. Here, we're only covering assisted drafting in your usual email client.

#The realistic architecture

The Local AI Kit

Your private ChatGPT, free, on your own machine in an hour — LM Studio, Ollama, Open WebUI, your documents, no cloud.

  • Lifetime online access
  • PDF + files
  • Lifetime updates

A local email assistant architecture consists of three elements: your usual mail client (Thunderbird, or any client that accepts an extension), an extension or module that can call a language model API, and a model running on your machine, served by Ollama at its default local address (127.0.0.1, port 11434). Email continues to be handled normally by your client (IMAP receiving, SMTP sending): only the draft text passes to the local model for generation, never to a third-party service.

The architecture's three building blocks
Building blockRoleExample
Mail clientReceiving, sending, inboxThunderbird
AI extensionInterface between the client and the modelThunderAI
Local modelGenerate the draft textOllama + a 7–8B model or larger

#An example of an existing extension

ThunderAI is a Thunderbird extension that integrates AI directly into email, with explicit support for Ollama in addition to cloud providers. Its documentation states that it runs entirely locally (model, context size, temperature, reasoning mode), allowing you to keep everything on the machine instead of depending on an external server.

In practical terms, a function like this can generate a draft reply from the selected email using a simple prompt, an advanced prompt, or a custom instruction you write. The generated text opens in the mail client’s usual compose window: nothing is sent unless you go through that window.

#Other extensions of the same type

ThunderAI is not the only option: the ecosystem of AI-focused Thunderbird extensions has grown, with slightly different approaches. thunderbird-ai (Project516) bets on an “AI review” button that rereads a draft while you are writing it to check its tone, typos, and especially attachments mentioned in the text but forgotten when sending — a practical check that ThunderAI does not explicitly offer. Quill, meanwhile, provides writing assistance connected to Ollama, OpenAI, or Claude, your choice.

Thunderbird extensions with local Ollama support (choose based on your needs; don’t combine them)
ExtensionPrimary functionStrength
ThunderAIResponse draft, summary, translation, classificationBroadest coverage of messaging tasks
thunderbird-aiDraft review (AI review)Detects forgotten attachments before sending
QuillWriting assistanceChoose the provider (Ollama, OpenAI, Claude) on a case-by-case basis

The documented common thread among these extensions: the email content is sent to the model only when the user explicitly takes an action, never in the background. thunderbird-ai states this unambiguously in its documentation, which is worth checking for any extension before installing it, whether local or not: an extension that continuously analyzed your emails, even with a local model, would change the nature of the privacy commitment compared with on-demand generation.

#What “local” really guarantees

Running the model on your machine means the content of the email processed by the model does not pass through a third-party service to generate the draft. This does not change how the email itself is transported: receiving and sending still use standard protocols (IMAP, SMTP) to your mail server, whether local or not. “Local AI” secures the text-generation step, not the entire email chain.

i
Surprise gradient
A local email assistant does not make your email service itself local: your emails still pass through your provider (Gmail, Hostinger, or another) as before. What changes is that the draft text is no longer sent to a cloud model for generation.

#Set up the assistant

  1. 01
    Install Ollama and a suitable model
    A 7 to 8B model in Q4 quantization works for writing routine emails; a larger model helps with more nuanced responses if your machine can handle it.
  2. 02
    Install a compatible extension
    Verify that the chosen extension explicitly offers a Ollama mode or a compatible local OpenAI server, not just cloud providers.
  3. 03
    Configure the local address
    Point the extension to the default address of the Ollama server, typically 127.0.0.1 on port 11434.
  4. 04
    Test it on a non-sensitive email
    Generate a first draft for a low-stakes email to validate the tone and relevance before using it for important correspondence.

#Why human review is still mandatory

A model generates plausible text, not necessarily accurate text. In a professional email, a tone mistake, incorrect information slipped into a rephrasing, or an answer that doesn’t address the actual question are real risks, even with a good model. Proofreading isn’t excessive caution: it’s the only step that ensures what’s sent in your name matches what you actually meant to say.

Verify the cited facts
A model may rephrase a date, amount, or commitment slightly differently from the original: compare it with the source email before sending.
Check the tone
A generated draft may be too formal, too casual, or poorly calibrated for your usual audience.
Verify recipients
The model does not know the relational context: you must decide whether the proposed wording is appropriate for this specific person.
Verify the announced attachments
If the draft mentions an attached document, confirm that it is actually attached before sending: the model writes the text, not the attachment itself.

This list is not a formality: it reflects the errors most frequently reported by users of this type of tool, not theoretical risks. A draft generated in a few seconds creates an impression of reliability that can make you review it more quickly than text you wrote yourself, when the exact opposite is what protects you: generation speed eliminates no verification step; it simply makes review more time-efficient overall.

#One step further: task sorting and extraction

Beyond the occasional draft generated in the email client, community projects go further: AI-Email-Agent is a local-first agent that connects to your mailbox via IMAP, categorizes messages, and extracts actionable tasks through Ollama (using the llama3 model), while keeping all processing on the machine (Ollama and a local SQLite database), with no dependency on a third-party cloud service for this part.

The structural difference from the assistant described above is that this type of agent handles more automated steps (sorting, categorization) than simply generating a draft on request. That's why these projects document a human validation gate (human-in-the-loop) before any action, rather than letting automation run all the way through without oversight. The principle remains the same as for a simple writing assistant: the further automation advances through the workflow (sorting, tasks, response), the more explicit human validation becomes essential, not optional.

!
Objection: “if it is local, why validate it again?”
The local nature of processing protects data confidentiality, not accuracy. An agent that miscategorizes an urgent email as low priority, or extracts a task with the wrong deadline, produces a silent error that is difficult to detect without an explicit validation gate before the action becomes final.

#Toward native email client integration

Beyond third-party extensions, Mozilla has submitted a proposal for an assistant integrated directly into Thunderbird, aimed at reducing time spent on email and the cognitive load of sorting and drafting, without sacrificing privacy according to the proposal's terms. This type of initiative aligns with current extensions: assisted drafting, tone changes, and draft rewriting, with the source email and conversation thread as optional rather than mandatory context.

Whether the assistant is a third-party extension or an upcoming native feature, the principle remains the same: the benefit lies in drafting time, not in delegating the decision to send. An email client that one day offered automatic sending without confirmation would represent a fundamental change in the tool, not a simple improvement to the writing assistant described throughout this guide.

#What it does not replace

A local assistant helps start a response; it doesn’t manage an entire inbox. Automatic sorting, prioritizing urgent messages, or sending without supervision are automations of a different order, raising different reliability and accountability questions from simple drafting assistance. This guide deliberately remains focused on reviewed drafts: for routine professional correspondence, that is currently the best balance between real time savings and risk.

Frequently asked questions
Can a local AI send my emails automatically?+
This is not recommended and is not the use case described here. The assistant generates a draft that you review before sending yourself, exactly like text you wrote and then reviewed. More automated projects that go beyond drafting document a human validation gate before any action, never sending anything without review.
Do you need a dedicated email address to use a local assistant?+
No. The extension installs in your usual mail client (Thunderbird, for example), and your email transport remains unchanged (IMAP, SMTP) to your usual provider. Only draft generation goes through the local model, and only when you trigger the action—not as a background task.
Which model should you choose for writing emails?+
A 7B to 8B model in Q4 quantization is suitable for most everyday emails and runs on a modest machine. For more nuanced or professional responses, a larger model generally produces a more reliable result if your machine has enough memory to run it comfortably.
Are my emails sent to an external server with this method?+
No, not for draft generation, since the model runs on your machine through Ollama, generally accessible locally at 127.0.0.1 port 11434. The email transport itself (receiving and sending) continues to go through your usual email provider, exactly as it would without an installed AI assistant.
Do ThunderAI and thunderbird-ai do the same thing?+
No, they partially overlap rather than duplicate each other. ThunderAI covers a broad scope (draft generation, summarization, translation, and email classification); thunderbird-ai focuses on proofreading an already-written draft, with one practical check that ThunderAI does not explicitly offer: detecting attachments mentioned in the text but forgotten before sending. The two can coexist depending on your needs.
Is an agent that automatically sorts my email riskier than a simple draft?+
Yes, in the sense that it involves more automated steps (categorization, task extraction) than generating text on demand. Local operation protects data confidentiality, not accuracy: a human validation gate before any action is still necessary, as documented by serious projects of this kind.
Did this guide help you?

Feedback, an error, or a clarification? Let us know—it improves the guide for everyone.