PHPackages                             lifeprisma/roundcube-genia - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Mail &amp; Notifications](/categories/mail)
4. /
5. lifeprisma/roundcube-genia

ActiveRoundcube-plugin[Mail &amp; Notifications](/categories/mail)

lifeprisma/roundcube-genia
==========================

GenIA — AI-powered email assistant for Roundcube. Multi-provider (OpenAI, Grok), streaming, inline translate, scam detection, smart reply, summarize, and more.

2.0.0(3mo ago)3102[1 issues](https://github.com/eduardostern/roundcube-genia/issues)[2 PRs](https://github.com/eduardostern/roundcube-genia/pulls)MITJavaScriptPHP &gt;=8.0

Since Mar 7Pushed 1mo agoCompare

[ Source](https://github.com/eduardostern/roundcube-genia)[ Packagist](https://packagist.org/packages/lifeprisma/roundcube-genia)[ Docs](https://github.com/eduardostern/roundcube-genia)[ RSS](/packages/lifeprisma-roundcube-genia/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (1)Dependencies (1)Versions (3)Used By (0)

 [![GenIA — AI Email Assistant for Roundcube](https://raw.githubusercontent.com/eduardostern/roundcube-genia/main/assets/banner.svg)](https://raw.githubusercontent.com/eduardostern/roundcube-genia/main/assets/banner.svg)

GenIA — AI Email Assistant for Roundcube
========================================

[](#genia--ai-email-assistant-for-roundcube)

 **The missing AI for your self-hosted email.**
 Compose, rewrite, reply, translate, summarize, scam check — works with OpenAI, Claude, Grok, Ollama, or any local LLM.

 [Features](#features) • [Installation](#installation) • [Configuration](#configuration) • [Usage](#usage) • [FAQ](#faq) • [Contributing](#contributing)

 [![Release](https://camo.githubusercontent.com/42804e5dc5e7649c35e17a32cbd643111497b205b1f7126b657b7853d0c88e26/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f6564756172646f737465726e2f726f756e64637562652d67656e69613f7374796c653d666c61742d73717561726526636f6c6f723d376333616564)](https://camo.githubusercontent.com/42804e5dc5e7649c35e17a32cbd643111497b205b1f7126b657b7853d0c88e26/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f6564756172646f737465726e2f726f756e64637562652d67656e69613f7374796c653d666c61742d73717561726526636f6c6f723d376333616564) [![License](https://camo.githubusercontent.com/2064788fb84458d8ff362f54c72f9e243482923edc86c7959056107df445aca7/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d3232633535653f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/2064788fb84458d8ff362f54c72f9e243482923edc86c7959056107df445aca7/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d3232633535653f7374796c653d666c61742d737175617265) [![Roundcube](https://camo.githubusercontent.com/b3ab71f183b490823b334f0f9c559273b81b1db829e9e65e02b79ca86a9ea6c0/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f526f756e64637562652d312e352532422d626c75653f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/b3ab71f183b490823b334f0f9c559273b81b1db829e9e65e02b79ca86a9ea6c0/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f526f756e64637562652d312e352532422d626c75653f7374796c653d666c61742d737175617265) [![PHP](https://camo.githubusercontent.com/fb32ba8acc31d54a8d5b14a0b5d36747fe6a7da1e4387f379312a7fe4a5aa3ad/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e302532422d3737374242343f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/fb32ba8acc31d54a8d5b14a0b5d36747fe6a7da1e4387f379312a7fe4a5aa3ad/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e302532422d3737374242343f7374796c653d666c61742d737175617265)

---

Why?
----

[](#why)

Gmail has Gemini. Outlook has Copilot. **Your self-hosted Roundcube has... nothing. Until now.**

GenIA brings the same AI-powered email experience to your own mail server. No vendor lock-in. Point it at a local Ollama instance and **zero data leaves your network**. Or use cloud providers like OpenAI and Grok when convenience matters. Your server, your choice.

---

Features
--------

[](#features)

### Seven Powerful Actions

[](#seven-powerful-actions)

ActionWhat it does**Compose**Describe what you want, get a fully written email**Rewrite**Change tone, rephrase, restructure your existing draft**Reply**AI reads the conversation and drafts a contextual reply**Translate**Translate between 6 languages preserving tone and structure**Summarize**Extract key points and action items from long threads**Fix Grammar**Correct spelling, grammar, and punctuation with minimal changes**Check Scam**Analyze emails for phishing, fraud, and social engineering### Quick Actions Toolbar (Read View)

[](#quick-actions-toolbar-read-view)

When reading an email, a toolbar appears above the message body with one-click actions:

- **Translate** — dropdown with 7 languages, streams translation inline, "Show Original" to revert
- **Summarize** — streams a summary in a result panel above the email
- **Scam Check** — analyzes the email with color-coded verdict (green/yellow/red)
- **Reply with AI** — opens the full GenIA panel in reply mode

### Multi-Provider Support

[](#multi-provider-support)

Switch between AI providers directly in the UI. Mix cloud and local:

ProviderModelsData leaves network?API Key**Ollama**Llama 3.1, Mistral, Qwen, Gemma, etc.**No** — fully localNot needed**LM Studio**Any GGUF model**No** — fully localNot needed**LocalAI / vLLM**Any supported model**No** — fully localOptional**OpenAI**GPT-5.4, GPT-4.1, GPT-4oYes — sent to OpenAI[platform.openai.com/api-keys](https://platform.openai.com/api-keys)**Anthropic (Claude)**Sonnet 4.6, Haiku 4.5, Opus 4.6Yes — sent to Anthropic[console.anthropic.com](https://console.anthropic.com/settings/keys)**xAI (Grok)**Grok-4.1-fast, Grok-3Yes — sent to xAI[console.x.ai](https://console.x.ai)**Any OpenAI-compatible API**CustomDepends on endpointVaries### AI Controls

[](#ai-controls)

- **Reasoning Effort** — None / Low / Medium / High
- **Verbosity** — Concise / Balanced / Detailed
- **Language** — Portuguese, English, Spanish, French, German, Italian, Dutch
- **Tone** — Professional, Casual, Friendly, Formal, Urgent

### Smart Features

[](#smart-features)

- **Streaming responses** — see the AI write in real-time
- **Conversation memory** — chain instructions: "make it shorter", "now translate it"
- **Preview before applying** — review AI output before it touches your email
- **Undo** — one-click revert after applying
- **Copy to clipboard** — copy AI results with one click
- **Persistent preferences** — provider, model, language, tone saved across sessions
- **Keyboard shortcut** — `Alt+A` to toggle the GenIA panel
- **Token counter** — see input/output token usage per request

### UI

[](#ui)

- Floating GenIA button (bottom-right corner)
- Quick actions toolbar in read view
- Modal panel with backdrop blur
- Dark mode support
- Fully responsive on mobile

---

Installation
------------

[](#installation)

### Option 1: Git Clone (Recommended)

[](#option-1-git-clone-recommended)

```
cd /path/to/roundcube/plugins/
git clone https://github.com/eduardostern/roundcube-genia.git lifeprisma_ai
cd lifeprisma_ai
cp config.inc.php.dist config.inc.php
```

Edit `config.inc.php` and add your API keys.

Enable the plugin in Roundcube's `config/config.inc.php`:

```
$config['plugins'] = [
    // ... your other plugins
    'lifeprisma_ai',
];
```

### Option 2: Composer

[](#option-2-composer)

```
cd /path/to/roundcube/
composer require lifeprisma/roundcube-genia
```

### Option 3: Manual Download

[](#option-3-manual-download)

1. Download the [latest release](https://github.com/eduardostern/roundcube-genia/releases)
2. Extract to `plugins/lifeprisma_ai/`
3. Copy `config.inc.php.dist` to `config.inc.php`
4. Add your API keys and enable the plugin

---

Configuration
-------------

[](#configuration)

### Ollama (Local — Zero Data Leaves Your Network)

[](#ollama-local--zero-data-leaves-your-network)

```
