# Why I Built a ~35MB Rust + Tauri v2 Email Client With 100% On-Device Qwen-0.6B AI

> Source: <https://dev.to/pridestel_38c2b6a5c5c0e53/why-i-built-a-35mb-rust-tauri-v2-email-client-with-100-on-device-qwen-06b-ai-56ng>
> Published: 2026-12-05 12:02:22+00:00

**Recommendation:** Run a small quantized model like Qwen-0.6B through embedded llama.cpp on CPU when you need local AI in a desktop app without GPU or cloud dependencies.
More in the playbook "Inference and self-hosting": <https://wpnews.pro/playbooks/inference-serving>

Modern desktop email clients have a strange problem: to read plain text and HTML messages, most of them bundle an entire Chromium browser engine, eat 400–600MB of idle RAM, take seconds to cold-start, and now want $20+/month to send your private emails to a cloud LLM.

I wanted an email client that felt like a native desktop tool—instant startup, minimal memory footprint, zero telemetry, and local AI that never touches the cloud.

So I built **[Pridestel Mail](https://pridestel-mail.pridestel.com/)** (`mail-core` + Tauri v2 + embedded `llama.cpp`), a free, cross-platform desktop email client for Windows, macOS, and Linux.

Here is how the architecture works and how we kept the idle memory footprint around **~35MB** with a **~0.1s cold start**.

Most modern desktop apps pay a massive baseline tax before rendering a single pixel:

| Metric | Pridestel Mail | Typical Electron Client | 
|---|---|---|
| **Idle RAM Usage** | ~35 MB | 400–600 MB | 
| **Cold Start Time** | < 0.12s | 2–5s | 
| **Native Binary Size** | ~40 MB | 200–500 MB | 
| **AI Execution** | 100% On-Device CPU | Cloud API ($20+/mo) | 
| **Telemetry** | Zero bytes outbound | Analytics & sync servers | 

By pairing a standalone Rust engine (`mail-core`) with **Tauri v2** (using native OS WebView2 on Windows and WebKit on macOS/Linux), we eliminated bundled Chromium completely. The UI stays lightweight while Rust handles all heavy lifting: IMAP IDLE persistent sockets, local SQLite indexing across 50,000+ emails, and cryptographic operations.

`llama.cpp` + `Qwen-0.6B`)
Shipping an AI assistant inside a lightweight desktop app sounds contradictory—until you look at modern small quantized models.

Instead of wiring up external API keys or requiring a dedicated GPU:

Because inference runs entirely on-device, packet inspection confirms **0 bytes emitted to any external AI server**. Your corporate or personal inbox never leaves your machine.

An email client is essentially a remote HTML execution viewer connected to untrusted senders. We designed the security model around strict isolation:

If you don't want to install anything yet, I built an interactive desktop simulator right on the landing page where you can test inbox filtering, threaded views, and the on-device AI summary flow in your browser:

If you build with Rust, Tauri v2, or `llama.cpp`, I’d love to hear your thoughts:
