Atlas / MCP servers / churichard / fluxmail

fluxmailBLOCK

mcp/churichard/fluxmail

Self-hosted email CLI / API / MCP server for AI agents and apps

Verdict
BLOCK
Grade
F
Trust score
48 /100
Exposed tools
1 1r · 0w · 0d
Transport
stdio · streamable-http
License
NOASSERTION
Stars
7
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

Fluxmail is self-hosted email infrastructure for agents and apps. It connects to Gmail, Microsoft 365, Outlook.com, and IMAP/SMTP mailboxes. Agents use MCP, apps and backend workflows use the versioned REST API, and operators use the CLI to connect mailboxes, manage access, and run the service.

Features

  • 📬 Connect Gmail, Google Workspace, Microsoft 365, Outlook.com, and IMAP/SMTP mailboxes to one instance.
  • 🤖 Give agents MCP tools to list, search, read, draft, reply, forward, send, schedule, and organize email.
  • 🔌 Use the same mailbox operations from the versioned REST API and CLI.
  • 🧵 Fetch complete messages and threads, work across several mailboxes, and download attachments.
  • 🗂️ Mark mail as read, star or archive it, move it between folders, send it to Trash, and manage Gmail labels or Outlook categories.
  • 🔐 Limit each client to selected mailboxes and actions with permission profiles or custom policies.
  • 👥 Add members and choose which mailboxes each can access on Business and Enterprise plans.
  • 🏠 Run Fluxmail locally or in Docker while keeping its database and encrypted provider credentials on your infrastructure.

Get started

Fluxmail requires Node.js 20.20.x, or Node.js 22.22 or later.

npm install -g 
Read from source at commit 1886a4e3ad88OBSERVED · 2026-10-10
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.

claude-code (npm)
claude mcp add fluxmail --env GOOGLE_CLIENT_SECRET=${GOOGLE_CLIENT_SECRET} --env FLUXMAIL_LICENSE_KEY=${FLUXMAIL_LICENSE_KEY} -- npx -y [email protected] stdio
03

Exposed tools (1)

1 read · 0 write · 0 destructive.

ToolRiskDescription
list_emailsreadList messages in a mailbox.
04

Trust audit

BLOCKgrade F · trust 48/100 Do not install this without reading the findings. The audit found something that could harm you or your machine.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codeFAIL
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
none-observed
Network
declared (7 observation(s))
Shell
declared (3 observation(s))
Dependencies
not all pinned
Secrets in source
found

Findings (25)

HIGHNetwork egress · net.tls_off · CWE-200, CWE-319
scripts/demo.sh:114
NODE_TLS_REJECT_UNAUTHORIZED=0 \
Why it matters. certificate verification is disabled
Fix. leave verification on
MEDIUMInformation disclosure · disclose.log_secret · CWE-209, CWE-532
packages/server/src/cli.ts:886
console.log(`Reset ${member.name}'s password and revoked existing sessions.`);
MEDIUMInformation disclosure · disclose.log_secret · CWE-209, CWE-532
packages/server/src/cli.ts:1670
console.log(`Enrollment code (shown once): ${member.invitation.token}`);
MEDIUMInformation disclosure · disclose.log_secret · CWE-209, CWE-532
packages/server/src/cli.ts:1784
console.log(`${label} (shown once): ${token.token}`);
MEDIUMInformation disclosure · disclose.log_secret · CWE-209, CWE-532
packages/server/src/cli.ts:1785
console.log(`Expires: ${new Date(token.expiresAt).toISOString()}`);
MEDIUMObfuscation / stealth · obf.base64_blob · CWE-506, CWE-94
demo/mailbox/messages/02-pilot-mailboxes.eml:27
bWFpbGJveCxwcm92aWRlcixvd25lcgpzdXBwb3J0QG5vcnRoc3Rhci5sb2NhbCxHb29nbGUgV29ya3NwYWNlLFN1cHBvcnQKb3BzQG5vcnRoc3Rhci5sb2NhbCxNaWNyb3NvZnQgMzY1LE9wZXJhdGlvbnMKYXJjaGl2ZUBub3J0aHN0YXIubG9jYWwsSU1BUCxPcGVy
MEDIUMHard-coded secrets · secret.generic · CWE-798, CWE-321
packages/server/test/cliInstances.test.ts:84
expect(resolveStdioInstance()).toMatchObject({ name: 'local', token: 'fms_private_local_session' });
MEDIUMHard-coded secrets · secret.generic · CWE-798, CWE-321
packages/server/test/cliInstances.test.ts:96
expect(resolveStdioInstance()).toMatchObject({ name: 'personal', token: 'fms_private_personal_session' });
MEDIUMHard-coded secrets · secret.generic · CWE-798, CWE-321
packages/server/test/cliInstances.test.ts:97
expect(resolveStdioInstance('local')).toMatchObject({ name: 'local', token: 'fms_private_local_session' });
MEDIUMHard-coded secrets · secret.generic · CWE-798, CWE-321
packages/server/test/cliInstances.test.ts:122
expect(resolveStdioInstance()).toMatchObject({ name: 'personal', token: 'fms_private_personal_session' });
MEDIUMHard-coded secrets · secret.generic · CWE-798, CWE-321
packages/server/test/logging.test.ts:76
const secret = 'fluxmail_lic_super-secret';
MEDIUMHard-coded secrets · secret.private_key · CWE-798, CWE-321
packages/provider-gmail/test/fixtures/proxy-key.pem:1
-----BEGIN PRIVATE KEY-----
LOWInventory / provenance · inv.hidden_file · CWE-1104
.oxfmtrc.json
.oxfmtrc.json
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWInventory / provenance · inv.symlink · CWE-1104
CLAUDE.md
CLAUDE.md
Why it matters. link not followed
LOWCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
packages/server/test/deliveryCoordinator.test.ts:162
first as unknown as { $client: { exec(sql: string): void; pragma(sql: string): void; close(): void } }
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
LOWCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
packages/server/test/licensing.test.ts:406
(db as unknown as { $client: { exec(sql: string): void } }).$client.exec(
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
LOWCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
packages/server/test/registry.test.ts:380
const sqlite = (db as unknown as { $client: { exec(sql: string): void } }).$client;
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
LOWCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
packages/server/test/registry.test.ts:628
const sqlite = (db as unknown as { $client: { exec(sql: string): void } }).$client;
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
packages/server/test/cliMailE2E.test.ts:55
cwd: path.resolve(path.dirname(fileURLToPath(import.meta.url)), '../../..'),
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
packages/server/test/cliStdioE2E.test.ts:18
readFileSync(new URL('../../../mcpb/manifest.template.json', import.meta.url), 'utf8'),
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
packages/server/test/fixtures/scheduledRuntime.ts:7
import { AccountRegistry } from '../../src/accounts/registry.js';
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
packages/server/test/fixtures/scheduledRuntime.ts:8
import { runCli } from '../../src/cli.js';
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
packages/server/test/fixtures/scheduledRuntime.ts:9
import { EmailService } from '../../src/service/emailService.js';
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
docs/public/pages/authentication-and-instances.md:60
Remote profiles require HTTPS. Plain HTTP is accepted only for loopback addresses such as `http://127.0.0.1:8977`. The CLI refuses redirects for authenticated remote requests so it cannot forward a se
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
docs/public/pages/connect-gmail-to-mcp.md:39
If Docker runs on the same computer as your browser, leave `FLUXMAIL_PUBLIC_URL` unset. Docker Compose publishes the local callback at `http://127.0.0.1:8976/oauth/callback`.

Gates applied: no_behavioural_pass.

Audited 2026-10-10 · audit v0.4.1 · source sha 1886a4e3ad88full audit observations/trust-audit/mcp-server/churichard__fluxmail.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-101886a4e3ad88BLOCKF48first audit
06

Questions

What is the fluxmail MCP server?

Self-hosted email CLI / API / MCP server for AI agents and apps

What tools does fluxmail expose?

1 in total: 1 read-only, 0 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.

Is fluxmail safe to connect to an agent?

No — not without reading the findings first. The audit graded it F (48/100) and found 1 critical or high issue in the source. Each one is listed on this page with the file and line it is on.

What credentials does fluxmail need?

It reads ACTIONS_ID_TOKEN_REQUEST_TOKEN, ACTIONS_ID_TOKEN_REQUEST_URL, FLUXMAIL_ENCRYPTION_KEY, FLUXMAIL_ENCRYPTION_KEY_FILE, FLUXMAIL_LICENSE_KEY, FLUXMAIL_LICENSE_PUBLIC_KEYS, FLUXMAIL_PASSWORD and GOOGLE_CLIENT_SECRET from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.

How does fluxmail run?

It speaks stdio and streamable-http, so it runs as a local process your client starts. It is published on npm as fluxmail at 0.13.0.

How current is this page?

The grade is for one exact copy of the source (1886a4e3ad88), read on 2026-10-10. The repository is watched and re-audited when it changes.

Advertisement