Download the PHP package lifeprisma/roundcube-genia without Composer

On this page you can find all versions of the php package lifeprisma/roundcube-genia. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package roundcube-genia

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 • Installation • Configuration • Usage • FAQ • Contributing

Release License Roundcube PHP


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

Seven Powerful Actions

Action What 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)

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

Multi-Provider Support

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

Provider Models Data leaves network? API Key
Ollama Llama 3.1, Mistral, Qwen, Gemma, etc. No — fully local Not needed
LM Studio Any GGUF model No — fully local Not needed
LocalAI / vLLM Any supported model No — fully local Optional
OpenAI GPT-5.4, GPT-4.1, GPT-4o Yes — sent to OpenAI platform.openai.com/api-keys
Anthropic (Claude) Sonnet 4.6, Haiku 4.5, Opus 4.6 Yes — sent to Anthropic console.anthropic.com
xAI (Grok) Grok-4.1-fast, Grok-3 Yes — sent to xAI console.x.ai
Any OpenAI-compatible API Custom Depends on endpoint Varies

AI Controls

Smart Features

UI


Installation

Option 1: Git Clone (Recommended)

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

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

Option 2: Composer

Option 3: Manual Download

  1. Download the latest release
  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

Ollama (Local — Zero Data Leaves Your Network)

Install Ollama: curl -fsSL https://ollama.com/install.sh | sh && ollama pull llama3.1

Cloud Providers (OpenAI + Claude + Grok)

Mix Local + Cloud (Best of Both Worlds)

Users can switch between local and cloud in the UI. Use local for privacy, cloud for quality.

API Type Reference

api_type Format Used by
responses OpenAI Responses API (/v1/responses) OpenAI, xAI
anthropic Anthropic Messages API (/v1/messages) Claude (Sonnet, Haiku, Opus)
chat_completions Chat Completions API (/v1/chat/completions) Ollama, LM Studio, LocalAI, vLLM, any OpenAI-compatible

Global Settings

Setting Default Description
lifeprisma_ai_max_tokens 2000 Maximum output tokens per request
lifeprisma_ai_temperature 0.5 Creativity (0.0-1.0). Only when reasoning is "None"

Usage

  1. Log into Roundcube webmail
  2. Open a compose window or view an email
  3. Click the GenIA button (bottom-right) or press Alt+A
  4. Choose an action, set your preferences, and generate

Keyboard Shortcuts

Key Action
Alt+A Toggle GenIA panel
Enter Submit (in the instruction field)
Shift+Enter New line in instruction
Escape Close the GenIA panel

Tips


Compatibility

Roundcube PHP Browsers
1.5.x, 1.6.x 8.0+ Chrome, Firefox, Safari, Edge, Mobile

Privacy & Security

GenIA is designed with privacy-conscious self-hosters in mind:

Recommended Setup for Maximum Privacy

Use Ollama with a local model. No API keys needed, no external calls, no data exposure:


FAQ

Q: Which AI providers are supported? A: OpenAI (GPT), Anthropic (Claude), xAI (Grok), Ollama, LM Studio, LocalAI, vLLM, and any OpenAI-compatible endpoint. Responses API, Anthropic Messages API, and Chat Completions API formats are all supported.

Q: Does it send my emails to an external server? A: Only if you configure a cloud provider (OpenAI, Grok). If you use Ollama or another local LLM, zero data leaves your network. You choose.

Q: Can I run it fully offline / air-gapped? A: Yes. Use Ollama or any local model server. No internet connection needed after initial model download.

Q: How much does it cost? A: The plugin is free (MIT). If using cloud providers, you pay for API usage (~$0.001-0.01 per email). Local models are completely free.

Q: I see "GenIA is not configured yet" — what do I do? A: Your server admin needs to add API keys to the config file. See Configuration above.


Troubleshooting

"GenIA is not configured yet"

The plugin needs at least one AI provider with an API key. Create or edit your config file:

Then add your API keys:

Make sure the file is readable by your web server:

"API key not configured"

This means the provider you selected doesn't have an API key set. Check your config.inc.php and make sure the api_key field is filled for each provider.


Contributing

Contributions welcome! Fork, branch, PR.


Support the Project

This plugin is 100% free and open source. If it helps you:


License

MIT License — Free to use, modify, and distribute.

See LICENSE for full terms.


Built by Eduardo Stern / LifePrisma.ai


All versions of roundcube-genia with dependencies

PHP Build Version
Package Version
Requires php Version >=8.0
roundcube/plugin-installer Version >=0.1.3
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package lifeprisma/roundcube-genia contains the following files

Loading the files please wait ...