Skip to content

AI features

mail uses the OpenAI Responses API for optional, bounded assistance. OpenAI is disabled until an API key is configured. The selected model is shared by every AI operation.

Available actions

FeatureBehaviorData sent to OpenAI
Compose assistanceImprove a draft or rewrite it to be concise, formal, or friendly.Recipients, subject, and current draft content.
Reply draftGenerate a proposed reply from an opened message or thread.Relevant message text and addressing context.
Message and thread summarySummarize one thread or a recent mailbox window.Subject, sender, recipients, previews, and bounded body text.
Action extractionFind explicit tasks, owners, dates, and priorities in a thread.Bounded text from each thread message.
TranslationTranslate an opened message into the preferred language.Message content and target language.
Attachment summarySummarize supported text-like attachments and cache the result.Extracted attachment text.
Natural-language searchTranslate a request into bounded archive searches and select relevant returned messages.The query and bounded metadata from search candidates.
Importance classificationMark incoming messages likely to need attention.Incoming message metadata and bounded content.

The application requests store: false, limits input and output sizes, and treats email content as untrusted input. These controls do not replace reviewing the OpenAI account's own retention and data processing terms.

Automatic classification

Importance classification is the only automatic AI feature. When enabled, the worker processes newly synchronized messages in the background. Disable it to retain all on-demand AI actions without automatically sending incoming mail content to OpenAI.

Configuration

ItemSetting nameEnvironment variableRequirement
All AI actionsSettings > AI Features > OpenAI API keyOPENAI_API_KEYRequired. A saved key takes precedence over the environment.
ModelSettings > AI Features > ModelOPENAI_MODELOptional; defaults to gpt-4.1-mini.
Automatic importanceSettings > AI Features > Classify important incoming mailOPENAI_IMPORTANCE_CLASSIFICATIONOptional; defaults to enabled when an API key exists. Set the environment value to false to disable it.
Translation languageSettings > AI Features > Mail translation target languageNoneOptional; defaults to Korean.
Stored API key encryptionNoneMAIL_SECRET_KEYRequired to encrypt an API key saved through Settings.

Automatic classification requires the worker. On-demand actions run through authenticated web requests. Demo mode returns sample AI results without calling OpenAI.