MailDesk docs
AI features

Fix AI setup and feature problems

4 min read Odoo 18.0

This page helps you find why an AI feature is missing, fails or gives no result. Find your symptom, run the check, then take the next step.

Who this is for: users (first section) and the MailDesk or Odoo administrator (the rest). You need: MailDesk Pro. MailDesk Basic has no AI, so nothing here applies to a Basic-only install.

Users do not enter keys. Connecting providers and switching AI on or off is an administrator task.

If you are a user

Symptom Check Next step
The AI panel shows AI is not set up yet No active provider Send this page to your administrator. They follow Connect an AI provider (admin)
No AI button, or Check with AI is missing on an email AI is off for this mailbox, or the email is not held back in Safe Mode Ask an administrator to check Enable AI features for the mailbox
"AI is disabled for this mailbox." Enable AI features is off Ask an administrator to switch it on
"AI quota reached - please wait a moment and try again." The provider is limiting requests Wait a moment and try again. If it keeps happening, tell an administrator
A summary or draft is wrong or empty The AI can be wrong. A very long or unusual thread can give a poor result Use Regenerate, or write the reply yourself

If you are an administrator

Find the failing layer

Check in this order. Each one can stop AI.

  1. Provider. Open MailDesk ▸ Configuration ▸ MailDesk Settings ▸ AI Providers. One row should be Active, Key Set ticked, and Connectivity showing Connected. Click Test Connection.
  2. Mailbox. Open MailDesk ▸ Configuration ▸ Mailboxes ▸ Mailbox Accounts and check Enable AI features.

A mailbox account form, where Enable AI features is set

  1. System switches. In Settings ▸ Technical ▸ System Parameters (developer mode), check that maildesk.ai.enabled and maildesk.ai.feature.<feature>.enabled are not set to 0.
  2. Python package. The error text names a missing package. See below.

If AI is gone in every mailbox after a change, suspect layer 3 or the provider. If it is gone in one mailbox, suspect layer 2.

Provider and connection problems

Symptom Check Next step
Connection Failed: "Could not reach provider … Check the API key and model name." Key and Model ID Open Set API Key and enter the key again without spaces. Enter the model as the provider names it, for example gpt-4o, not a display name
Test fails for a cloud provider Outbound access from the Odoo server (firewall, proxy) Ask the server administrator to allow the provider's address
Test fails for OpenAI only Billing on the OpenAI account Check the account's billing and API access in the provider dashboard
Provider reports a quota or rate limit The limit on the provider side Raise the plan, wait, or choose a smaller model
Local server: Connection Failed Server running? Base URL starts with http:// or https:// and ends in /v1? Start the server and correct the URL
Local server works in your browser, not in MailDesk The Odoo server opens the address, not your computer; localhost means the Odoo server Use an address the Odoo server can reach
Set API Key button is missing The provider is Custom / Local Server This is expected. A custom server is used without a key
Test works, but a feature still fails A per-task provider is set in MailDesk ▸ Configuration ▸ MailDesk Settings ▸ Settings Check Security Scan Provider, Thread Summary Provider, Reply Draft Provider and Ask AI / Editor Provider, or reset them to — Use active provider —

Missing Python package

Symptom Check Next step
An error says a Python package is not installed Which package: openai, google-genai or anthropic Install it in the Python environment that runs Odoo, then restart Odoo
The error suggests an older version number The message text is older than the module's requirements Use the versions from the requirements.txt in the Pro module folder: openai>=1.55.3,<2, google-genai==1.0.0, anthropic>=0.40, google-auth<2.48.0
Packages fail after an Odoo.sh rebuild Odoo.sh reads requirements.txt only at the repository root, or in the folder that contains your modules Add the packages there. A requirements.txt inside a module folder is not read

openai is used for OpenAI, xAI Grok, DeepSeek and Custom / Local Server. google-genai is for Google Gemini. anthropic is for Anthropic Claude.

Background summaries do not appear

Symptom Check Next step
No short summaries or priority badges in the inbox list Enable AI features and Automatic AI summaries on the mailbox; Background AI Enrichment in MailDesk Settings ▸ Settings Switch them on
Still none Only new, unread Inbox mail is summarized, after the first new message arrives. Existing mail is not processed Wait for new mail
Still none The scheduled action MailDesk AI: Process Enrichment Jobs In Settings ▸ Technical ▸ Scheduled Actions, check that it is active and runs

Cockpit briefings

See AI briefings for managers. The usual causes are the user's tier, the daily limit, or no Pro provider.

If the problem remains

Collect the Odoo log lines that contain "MailDesk AI" from the time of the failure and send them to Metzler IT. For other mail problems see Troubleshooting.

Next step: Connect an AI provider (admin).