cd /news/artificial-intelligence/why-i-built-a-35mb-rust-tauri-v2-ema… · home › topics › artificial-intelligence › article
[ARTICLE · art-182400] src=dev.to ↗ pub= topic=artificial-intelligence verified=true sentiment=↑ positive

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

A developer built Pridestel Mail, a free cross-platform desktop email client combining a standalone Rust engine (mail-core) with Tauri v2 and an embedded llama.cpp runtime running the quantized Qwen-0.6B model entirely on-device. The client reports roughly 35MB idle RAM, a cold start under 0.12 seconds, and a ~40MB native binary, versus 400–600MB and multi-second starts for typical Electron clients, with no telemetry and no cloud AI calls.

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 playbook: Inference and self-hosting
by read2 min views2 publishedDec 5, 2026

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 (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:
── more in #artificial-intelligence 4 stories · sorted by recency
── more on @pridestel mail 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/why-i-built-a-35mb-r…] indexed:0 read:2min 2026-12-05 · —