# Fluxmail > Connect ChatGPT, Claude, and other agents to Gmail, Outlook, or IMAP over MCP. Agents can search, read, draft, and send email with the permissions you approve. Fluxmail gives AI agents and apps access to Gmail, Outlook, and IMAP mailboxes. It comes in two forms that share the same email operations and permission model: Fluxmail Cloud, a hosted service, and Fluxmail Self-Hosted, which you run on your own computer or server. The home page compares them. Fluxmail Self-Hosted, described at /self-hosted, connects Gmail, Outlook, Exchange, and IMAP mailboxes through MCP, a versioned REST API, and a CLI. All three interfaces can search, read, draft, send, schedule, and organize email. AI agents can connect over local stdio or Streamable HTTP, while apps and backend workflows can use REST. The CLI includes Fluxmail-managed Gmail OAuth and also accepts custom Google credentials. Fluxmail encrypts provider credentials in local storage. Installation instructions are available at /docs/quickstart. Fluxmail Desktop is a free, open-source email client for macOS with public releases on GitHub, linked from /desktop. It runs the Fluxmail engine inside the app and connects directly to Gmail, Outlook, and IMAP providers, with no Fluxmail server in between. It shares connected accounts with the Fluxmail CLI and MCP server, so people and agents can work with the same mailboxes. Fluxmail Cloud provides hosted MCP and REST access to existing mailboxes at cloud.fluxmail.ai. Cloud uses separate mailbox connections, OAuth authorization for MCP clients, and scoped agent keys for REST automation. Cloud documentation is at /docs/cloud, with a pasteable agent setup prompt at /docs/cloud/quickstart#agent-first-setup and a Cloud-only plain-text guide at /docs/cloud/llms.txt. Cloud offers Pro and Business subscriptions and a seven-day trial on a workspace's first subscription. Business adds workspace members, shared mailboxes, and priority support. Remote CLI configuration is not implemented. ## Key facts - Self-hosted server: Fluxmail packages its CLI, MCP server, and REST API in the `fluxmail` npm package (Node.js 22.22 or newer) and a Docker image, with source available on GitHub. - Self-hosted transports: `fluxmail stdio` connects local agents (Claude Code, Claude Desktop, Cursor, Codex, Gemini CLI, VS Code Copilot); `fluxmail serve` runs a Streamable HTTP MCP endpoint authenticated with `fmk_` API keys. - Self-hosted email operations: MCP, REST API, and CLI can read and search threads, manage drafts, send and forward email, organize messages, and handle attachments. - Gmail OAuth: the Fluxmail CLI includes a managed OAuth flow and a bundled local OAuth client, and it also accepts custom Google credentials. - Self-hosted privacy: Google and Microsoft OAuth tokens and IMAP/SMTP passwords are stored locally in SQLite and encrypted with AES-256-GCM, with no Fluxmail cloud involved. - Self-hosted providers: Gmail, Google Workspace, Outlook, Exchange, and mailboxes with IMAP and SMTP access are supported today. - Self-hosted pricing: the free Personal plan includes 1 member and 3 mailboxes; Pro is $15/month or $120/year (1 member, 10 mailboxes); Business is $25/month or $240/year per member (up to 100 members, with 20 mailbox connections per member added to the instance limit); Enterprise is custom (contact sales). - Fluxmail Desktop status: the desktop email client has public releases available on GitHub. - Fluxmail Desktop architecture: the app runs the Fluxmail engine in its own process, connects directly to the mail provider, and shares the accounts in `~/.fluxmail` with the Fluxmail CLI and MCP server. ## Pages - [Home](https://fluxmail.ai/): Overview of Fluxmail Cloud and Fluxmail Self-Hosted, with a comparison of the two - [Fluxmail Self-Hosted](https://fluxmail.ai/self-hosted): Self-hosted email infrastructure for agents and apps, available through MCP, REST API, and CLI - [Fluxmail Cloud](https://fluxmail.ai/cloud): Hosted MCP and REST access to Gmail, Outlook, and IMAP mailboxes, with per-agent mailbox and permission approval - [Fluxmail Desktop](https://fluxmail.ai/desktop): Free, open-source Mac email client that connects directly to Gmail, Outlook, and IMAP and shares accounts with the Fluxmail CLI and MCP server - [Pricing](https://fluxmail.ai/pricing): Plans, pricing, and FAQ for self-hosted Fluxmail and Fluxmail Cloud - [Docs](https://fluxmail.ai/docs): Product documentation and how-to guides - [Integrations](https://fluxmail.ai/integrations): Setup guides for ChatGPT, Claude Desktop, Claude Code, Codex, Muse, Cursor, and other MCP clients - [Compare](https://fluxmail.ai/compare): Fluxmail compared with other email MCP servers and APIs for AI agents - [Security](https://fluxmail.ai/security): Data location, credential encryption, access control, audit events, license checks, and telemetry - [Blog](https://fluxmail.ai/blog): Product updates and email productivity tips - [Privacy Policy](https://fluxmail.ai/privacy): How Fluxmail handles personal data - [Terms of Service](https://fluxmail.ai/terms): Legal terms of use ## Integrations - [Email for ChatGPT](https://fluxmail.ai/integrations/chatgpt): Connect ChatGPT to Gmail, Outlook, or IMAP with a custom MCP server. Sign in with OAuth and choose which mailboxes and actions ChatGPT can use. - [Email for Claude Desktop](https://fluxmail.ai/integrations/claude-desktop): Connect Gmail, Outlook, or IMAP to Claude Desktop and claude.ai from Claude's connector directory. Sign in with OAuth and choose the mailboxes and actions Claude can use. - [Email for Claude Code](https://fluxmail.ai/integrations/claude-code): Give Claude Code access to Gmail, Outlook, Exchange, or IMAP with a self-hosted MCP server. One command to connect, with read-only and send permissions you control. - [Email for Codex](https://fluxmail.ai/integrations/codex): Connect Codex CLI or the Codex app to Gmail, Outlook, Exchange, or IMAP with a self-hosted MCP server. Set up with one command or a few lines of config.toml. - [Email for Meta Muse](https://fluxmail.ai/integrations/muse): Connect Meta Muse to Gmail, Outlook, or IMAP with a Fluxmail Cloud custom connector. Sign in with OAuth and choose which mailboxes and actions Muse can use. - [Email for Cursor](https://fluxmail.ai/integrations/cursor): Add email to Cursor with a self-hosted MCP server for Gmail, Outlook, Exchange, and IMAP. Configure it globally or per project in mcp.json. ## Comparisons - [Fluxmail vs Nylas](https://fluxmail.ai/compare/nylas): Compare Fluxmail and Nylas on MCP, REST, providers, Google verification, data storage, webhooks, permissions, and per-account pricing. - [Fluxmail vs AgentMail](https://fluxmail.ai/compare/agentmail): AgentMail gives each agent a new inbox. Fluxmail connects agents to the Gmail, Outlook, and IMAP mailboxes you already use. Compare MCP, inbound events, and pricing. - [Fluxmail vs EmailEngine](https://fluxmail.ai/compare/emailengine): Fluxmail and EmailEngine are self-hosted email APIs that connect AI agents to Gmail, Outlook, and IMAP. Compare MCP support, setup, storage, webhooks, and pricing. - [Fluxmail vs Gmail MCP Server](https://fluxmail.ai/compare/gmail-mcp): Google's Gmail MCP server is a Workspace developer preview. Fluxmail works with personal Gmail, Outlook, and IMAP, hosted or on a free self-hosted plan. - [Fluxmail vs Work IQ MCP](https://fluxmail.ai/compare/outlook-mcp): Looking for an Outlook MCP server? Compare Fluxmail and Microsoft's Work IQ MCP on hosting, providers, email tools, permissions, setup, and cost. - [Fluxmail vs ChatGPT Gmail](https://fluxmail.ai/compare/chatgpt-gmail): Compare Fluxmail with the Gmail plugin for ChatGPT on setup, email actions, providers, privacy, MCP access, and which one fits your workflow. - [Fluxmail vs Claude Gmail](https://fluxmail.ai/compare/claude-gmail): Claude's Gmail connector can see attachment details but can't download the files. Compare it with Fluxmail on attachments, Outlook and IMAP support, and setup. - [Fluxmail vs Composio Gmail](https://fluxmail.ai/compare/composio-gmail): Composio hosts Gmail over MCP next to many other apps, and Fluxmail covers email across Gmail, Outlook, and IMAP. Compare OAuth, tools, permissions, and price. ## Documentation A plain-text version of every doc is available at https://fluxmail.ai/docs/llms-full.txt Self-hosted setup instructions for coding agents: https://fluxmail.ai/docs/self-hosted/setup.txt Self-hosted guides and reference only: https://fluxmail.ai/docs/self-hosted/llms.txt ### Fluxmail Self-Hosted - [Architecture](https://fluxmail.ai/docs/architecture): Understand local storage, mailbox access, provider differences, and the data your MCP client receives. - [Authentication and instances](https://fluxmail.ai/docs/authentication-and-instances): Log in to local and remote Fluxmail instances or Fluxmail Cloud, enroll members, manage sessions, connect MCP clients with OAuth, and create API keys. - [Back up and restore](https://fluxmail.ai/docs/backup-and-restore): Preserve the database and encryption key, then restore an installation from a complete backup. - [Build with REST](https://fluxmail.ai/docs/build-with-rest): Create a scoped key, verify provider access, and read your first inbox messages. - [fluxmail accounts access](https://fluxmail.ai/docs/cli/accounts-access): Set who can access a mailbox you own - [fluxmail accounts add](https://fluxmail.ai/docs/cli/accounts-add): Connect a Gmail, Outlook, or IMAP account - [fluxmail accounts assign](https://fluxmail.ai/docs/cli/accounts-assign): Hand a mailbox you own to another member - [fluxmail accounts configure](https://fluxmail.ai/docs/cli/accounts-configure): Set special folder paths for an IMAP account - [fluxmail accounts list](https://fluxmail.ai/docs/cli/accounts-list): List connected accounts - [fluxmail accounts remove](https://fluxmail.ai/docs/cli/accounts-remove): Disconnect an account and delete its stored tokens - [fluxmail accounts send-as add](https://fluxmail.ai/docs/cli/accounts-send-as-add): Add a configured Outlook or IMAP sender address - [fluxmail accounts send-as list](https://fluxmail.ai/docs/cli/accounts-send-as-list): List available sender addresses - [fluxmail accounts send-as remove](https://fluxmail.ai/docs/cli/accounts-send-as-remove): Remove a configured Outlook or IMAP sender address - [fluxmail accounts send-as](https://fluxmail.ai/docs/cli/accounts-send-as): Manage sender addresses - [fluxmail accounts](https://fluxmail.ai/docs/cli/accounts): Manage connected email accounts - [fluxmail apikey accounts](https://fluxmail.ai/docs/cli/apikey-accounts): Replace or clear an API key mailbox allowlist - [fluxmail apikey capabilities](https://fluxmail.ai/docs/cli/apikey-capabilities): List capabilities for API key permission policies - [fluxmail apikey create](https://fluxmail.ai/docs/cli/apikey-create): Create an API key (shown once) - [fluxmail apikey list](https://fluxmail.ai/docs/cli/apikey-list): List API keys - [fluxmail apikey permissions](https://fluxmail.ai/docs/cli/apikey-permissions): Change the permissions for an API key - [fluxmail apikey revoke](https://fluxmail.ai/docs/cli/apikey-revoke): Revoke an API key - [fluxmail apikey](https://fluxmail.ai/docs/cli/apikey): Manage API keys for the HTTP MCP and REST APIs - [fluxmail attachments download](https://fluxmail.ai/docs/cli/attachments-download): Download an attachment - [fluxmail attachments](https://fluxmail.ai/docs/cli/attachments): Download message attachments - [fluxmail auth recover-admin](https://fluxmail.ai/docs/cli/auth-recover-admin): Reset an administrator password using local filesystem access - [fluxmail auth revoke-session](https://fluxmail.ai/docs/cli/auth-revoke-session): Revoke one of the current member's sessions - [fluxmail auth sessions](https://fluxmail.ai/docs/cli/auth-sessions): List sessions for the current member - [fluxmail auth](https://fluxmail.ai/docs/cli/auth): Manage interactive authentication - [fluxmail config init](https://fluxmail.ai/docs/cli/config-init): Create config.toml in the Fluxmail data directory - [fluxmail config migrate](https://fluxmail.ai/docs/cli/config-migrate): Import settings from an env file without deleting it - [fluxmail config show](https://fluxmail.ai/docs/cli/config-show): Show effective configuration, sources, paths, and restart requirements - [fluxmail config](https://fluxmail.ai/docs/cli/config): Inspect and initialize deployment configuration - [fluxmail connections accounts](https://fluxmail.ai/docs/cli/connections-accounts): Change the mailboxes one of your OAuth connections can use - [fluxmail connections list](https://fluxmail.ai/docs/cli/connections-list): List OAuth connections - [fluxmail connections revoke](https://fluxmail.ai/docs/cli/connections-revoke): Disconnect an MCP client and revoke its tokens - [fluxmail connections](https://fluxmail.ai/docs/cli/connections): Manage MCP clients connected with OAuth - [fluxmail drafts create](https://fluxmail.ai/docs/cli/drafts-create): Create a draft - [fluxmail drafts delete](https://fluxmail.ai/docs/cli/drafts-delete): Delete a draft - [fluxmail drafts get](https://fluxmail.ai/docs/cli/drafts-get): Read a draft - [fluxmail drafts update](https://fluxmail.ai/docs/cli/drafts-update): Replace the content of a draft - [fluxmail drafts](https://fluxmail.ai/docs/cli/drafts): Create and manage drafts - [fluxmail emails delivery-status](https://fluxmail.ai/docs/cli/emails-delivery-status): Check a send or forward outcome - [fluxmail emails forward](https://fluxmail.ai/docs/cli/emails-forward): Forward or schedule a forward of a message - [fluxmail emails get](https://fluxmail.ai/docs/cli/emails-get): Get a complete message - [fluxmail emails list](https://fluxmail.ai/docs/cli/emails-list): List and filter messages - [fluxmail emails modify](https://fluxmail.ai/docs/cli/emails-modify): Apply one action to one or more messages - [fluxmail emails preview](https://fluxmail.ai/docs/cli/emails-preview): Preview sender, recipients, and attachments - [fluxmail emails search-batch](https://fluxmail.ai/docs/cli/emails-search-batch): Search multiple email accounts - [fluxmail emails search](https://fluxmail.ai/docs/cli/emails-search): Search messages - [fluxmail emails send](https://fluxmail.ai/docs/cli/emails-send): Send or schedule a message - [fluxmail emails](https://fluxmail.ai/docs/cli/emails): Read, send, and organize email - [fluxmail folders list](https://fluxmail.ai/docs/cli/folders-list): List folders in an email account - [fluxmail folders](https://fluxmail.ai/docs/cli/folders): Work with navigable mailbox folders - [CLI reference](https://fluxmail.ai/docs/cli): Work with email and manage the Fluxmail server from the command line. - [fluxmail instances list](https://fluxmail.ai/docs/cli/instances-list): List configured instances - [fluxmail instances remove](https://fluxmail.ai/docs/cli/instances-remove): Remove a CLI profile and its local session - [fluxmail instances use](https://fluxmail.ai/docs/cli/instances-use): Select the default instance - [fluxmail instances](https://fluxmail.ai/docs/cli/instances): Manage local and remote CLI instances - [fluxmail labels list](https://fluxmail.ai/docs/cli/labels-list): List Gmail user labels or Outlook categories - [fluxmail labels](https://fluxmail.ai/docs/cli/labels): Work with Gmail labels and Outlook categories - [fluxmail license activate](https://fluxmail.ai/docs/cli/license-activate): Store a license key and validate it with the license server - [fluxmail license deactivate](https://fluxmail.ai/docs/cli/license-deactivate): Release the license from this instance and remove the stored key and cached lease - [fluxmail license status](https://fluxmail.ai/docs/cli/license-status): Show the configured license and cached lease - [fluxmail license](https://fluxmail.ai/docs/cli/license): Manage the paid-tier license - [fluxmail login](https://fluxmail.ai/docs/cli/login): Log in to a local or remote instance, or to Fluxmail Cloud - [fluxmail logout](https://fluxmail.ai/docs/cli/logout): Revoke the current CLI session - [fluxmail logs](https://fluxmail.ai/docs/cli/logs): Show recent local log entries - [fluxmail members add](https://fluxmail.ai/docs/cli/members-add): Add a member (subject to your plan's member limit) - [fluxmail members invite](https://fluxmail.ai/docs/cli/members-invite): Issue a new enrollment code - [fluxmail members list](https://fluxmail.ai/docs/cli/members-list): List members with their mailbox and API key counts - [fluxmail members password-reset](https://fluxmail.ai/docs/cli/members-password-reset): Issue a password reset code - [fluxmail members remove](https://fluxmail.ai/docs/cli/members-remove): Remove a member, handing their mailboxes to another member - [fluxmail members revoke-session](https://fluxmail.ai/docs/cli/members-revoke-session): Revoke a member session - [fluxmail members role](https://fluxmail.ai/docs/cli/members-role): Change a member role - [fluxmail members sessions](https://fluxmail.ai/docs/cli/members-sessions): List sessions for a member - [fluxmail members status](https://fluxmail.ai/docs/cli/members-status): Activate or suspend a member - [fluxmail members](https://fluxmail.ai/docs/cli/members): Manage members (people using this instance) - [fluxmail oauth configure google](https://fluxmail.ai/docs/cli/oauth-configure-google): Configure a custom Google OAuth application - [fluxmail oauth configure outlook](https://fluxmail.ai/docs/cli/oauth-configure-outlook): Configure a custom Microsoft OAuth application - [fluxmail oauth configure](https://fluxmail.ai/docs/cli/oauth-configure): Configure an OAuth application - [fluxmail oauth reset](https://fluxmail.ai/docs/cli/oauth-reset): Remove a stored OAuth application - [fluxmail oauth status](https://fluxmail.ai/docs/cli/oauth-status): Show OAuth application status without secrets - [fluxmail oauth](https://fluxmail.ai/docs/cli/oauth): Manage OAuth applications - [fluxmail scheduled cancel](https://fluxmail.ai/docs/cli/scheduled-cancel): Cancel a scheduled send and keep its draft - [fluxmail scheduled list](https://fluxmail.ai/docs/cli/scheduled-list): List scheduled sends - [fluxmail scheduled run](https://fluxmail.ai/docs/cli/scheduled-run): Run scheduled delivery for this local instance without HTTP or MCP - [fluxmail scheduled](https://fluxmail.ai/docs/cli/scheduled): Manage scheduled sends - [fluxmail serve](https://fluxmail.ai/docs/cli/serve): Run the HTTP server (MCP at /mcp and REST at /api/v1) - [fluxmail setup](https://fluxmail.ai/docs/cli/setup): Create the first local administrator or claim a migrated administrator - [fluxmail status](https://fluxmail.ai/docs/cli/status): Show mailbox and provider status for the selected instance - [fluxmail stdio](https://fluxmail.ai/docs/cli/stdio): Run as a stdio MCP server (for Claude Desktop / Claude Code local config) - [fluxmail telemetry disable](https://fluxmail.ai/docs/cli/telemetry-disable): Stop sending anonymous usage telemetry - [fluxmail telemetry enable](https://fluxmail.ai/docs/cli/telemetry-enable): Allow anonymous usage telemetry - [fluxmail telemetry status](https://fluxmail.ai/docs/cli/telemetry-status): Show whether anonymous usage telemetry is enabled - [fluxmail telemetry](https://fluxmail.ai/docs/cli/telemetry): Manage anonymous usage telemetry - [fluxmail threads get](https://fluxmail.ai/docs/cli/threads-get): Get a complete thread - [fluxmail threads](https://fluxmail.ai/docs/cli/threads): Read email threads - [Configuration](https://fluxmail.ai/docs/configuration): Deployment configuration, encrypted instance settings, outbound proxies, local logging, secret files, and telemetry controls. - [Connect IMAP/SMTP](https://fluxmail.ai/docs/connect-an-imap-mailbox): Connect any mailbox with IMAP and SMTP access, set its security options, and correct special-folder mappings. - [Connect an MCP client](https://fluxmail.ai/docs/connect-an-mcp-client): Choose your MCP client, configure local or HTTP access, and verify the mailbox connection. - [Connect Gmail / Google Workspace](https://fluxmail.ai/docs/connect-gmail-to-mcp): Connect a Gmail or Google Workspace mailbox, configure Google OAuth, and reconnect expired tokens. - [Connect Outlook / Exchange](https://fluxmail.ai/docs/connect-outlook-to-mcp): Connect a Microsoft 365 or Outlook.com mailbox, or register your own Microsoft Entra application. - [Deploy with Docker](https://fluxmail.ai/docs/deploy-with-docker): Run a persistent Fluxmail server, configure HTTPS, and verify a client connection. - [Email search](https://fluxmail.ai/docs/email-search): Use the same portable search syntax with Fluxmail CLI, MCP, and REST clients. - [Local logs](https://fluxmail.ai/docs/logging): Find and configure Fluxmail local logs without allowing unbounded disk use. - [Fluxmail Self-Hosted](https://fluxmail.ai/docs/self-hosted): Connect your existing mailboxes to agents and apps with a Fluxmail server you control. - [Permissions](https://fluxmail.ai/docs/permissions): Give each MCP or REST connection only the Fluxmail email permissions it needs. - [Quickstart](https://fluxmail.ai/docs/quickstart): Install Fluxmail, connect a mailbox, and verify your first agent or CLI connection. - [POST /api/v1/admin/license/activate](https://fluxmail.ai/docs/rest-api/activate-administrative-license): Validate and activate a Fluxmail license key. Requires admin.license. - [DELETE /api/v1/accounts/{accountId}/scheduled-sends/{scheduleId}](https://fluxmail.ai/docs/rest-api/cancel-scheduled-send): Cancel a pending scheduled send and keep its provider draft. - [PUT /api/v1/me/password](https://fluxmail.ai/docs/rest-api/change-password): Change your password and revoke your other sessions and OAuth connections. - [POST /api/v1/accounts/connections](https://fluxmail.ai/docs/rest-api/connect-own-account): Connect a Gmail, Outlook or IMAP mailbox, or reauthorize a mailbox you own. - [POST /api/v1/admin/api-keys](https://fluxmail.ai/docs/rest-api/create-administrative-api-key): Create an API key and return its plaintext secret once. A key you create for another member reaches only mailboxes you both can read. Requires admin.api_keys. - [POST /api/v1/admin/connections](https://fluxmail.ai/docs/rest-api/create-administrative-connection): Connect a Gmail, Outlook, or IMAP mailbox for any active or invited member, or reauthorize a mailbox you own. Requires admin.accounts. - [POST /api/v1/accounts/{accountId}/drafts](https://fluxmail.ai/docs/rest-api/create-draft): Create a new draft or a reply draft in an email account. - [POST /api/v1/admin/members/{memberId}/password-reset](https://fluxmail.ai/docs/rest-api/create-member-password-reset): Issue a one-time password reset code for a member. Requires admin.members. - [POST /api/v1/admin/members](https://fluxmail.ai/docs/rest-api/create-member): Create a pending member and return a one-time enrollment code. Requires admin.members. - [POST /api/v1/me/api-keys](https://fluxmail.ai/docs/rest-api/create-own-api-key): Create an API key for yourself and return its secret once. - [DELETE /api/v1/admin/license](https://fluxmail.ai/docs/rest-api/deactivate-administrative-license): Release the stored license and return this instance to Personal limits. Requires admin.license. - [DELETE /api/v1/admin/accounts/{accountId}](https://fluxmail.ai/docs/rest-api/delete-admin-account): Disconnect a mailbox and remove its stored credentials. Requires admin.accounts. - [DELETE /api/v1/admin/oauth-apps/{provider}](https://fluxmail.ai/docs/rest-api/delete-administrative-oauth-app): Remove a stored OAuth application. Requires admin.accounts. - [DELETE /api/v1/accounts/{accountId}/drafts/{draftId}](https://fluxmail.ai/docs/rest-api/delete-draft): Delete an existing draft from an email account. - [DELETE /api/v1/admin/members/{memberId}](https://fluxmail.ai/docs/rest-api/delete-member): Remove a member permanently. Their mailboxes go to the member named in reassignTo; without it, they must own no mailboxes. Their API keys, and keys they created for others, are revoked. Requires admin.members. - [GET /api/v1/accounts/{accountId}/messages/{messageId}/attachments/{attachmentId}](https://fluxmail.ai/docs/rest-api/download-attachment): Download one attachment as raw bytes. - [POST /api/v1/auth/enroll](https://fluxmail.ai/docs/rest-api/enroll-member): Set your first password with an enrollment code and receive a member session. - [POST /api/v1/accounts/{accountId}/messages/{messageId}/forward](https://fluxmail.ai/docs/rest-api/forward-message): Forward a message to one or more recipients now, or schedule the forward for a specified time. - [GET /api/v1/admin/license](https://fluxmail.ai/docs/rest-api/get-administrative-license): Get license status and usage without returning the configured license key. Requires admin.license. - [GET /api/v1/admin/oauth-apps](https://fluxmail.ai/docs/rest-api/get-administrative-oauth-apps): Get safe OAuth application metadata without returning client secrets. Requires admin.accounts. - [GET /api/v1](https://fluxmail.ai/docs/rest-api/get-api-info): Return the Fluxmail version and the URL of the OpenAPI document. - [GET /api/v1/me](https://fluxmail.ai/docs/rest-api/get-current-member): Get the name, role and status of the authenticated member. - [GET /api/v1/accounts/{accountId}/delivery-operations/{operationId}](https://fluxmail.ai/docs/rest-api/get-delivery-operation): Check whether a send or forward succeeded, failed or has an uncertain outcome. Requires mail.send. - [GET /api/v1/accounts/{accountId}/drafts/{draftId}](https://fluxmail.ai/docs/rest-api/get-draft): Read an existing draft by its provider ID. Requires mail.drafts. - [GET /api/v1/accounts/{accountId}/messages/{messageId}](https://fluxmail.ai/docs/rest-api/get-message): Get one message by its provider ID. - [GET /api/v1/status](https://fluxmail.ai/docs/rest-api/get-status): Return provider and mailbox status for the accounts available to the API key. - [GET /api/v1/accounts/{accountId}/threads/{threadId}](https://fluxmail.ai/docs/rest-api/get-thread): Get a complete email thread by its provider ID. - [REST API](https://fluxmail.ai/docs/rest-api): Use Fluxmail from local scripts and applications through the versioned JSON API. - [POST /api/v1/admin/members/{memberId}/invitation](https://fluxmail.ai/docs/rest-api/invite-member): Issue a new one-time enrollment code for a pending member. Requires admin.members. - [GET /api/v1/accounts](https://fluxmail.ai/docs/rest-api/list-accounts): List the email accounts available to the API key. - [GET /api/v1/admin/accounts](https://fluxmail.ai/docs/rest-api/list-admin-accounts): List mailbox metadata across the instance without granting access to private mail. Requires admin.accounts. - [GET /api/v1/admin/api-keys](https://fluxmail.ai/docs/rest-api/list-administrative-api-keys): List API key metadata without returning plaintext secrets. Requires admin.api_keys. - [GET /api/v1/admin/audit-events](https://fluxmail.ai/docs/rest-api/list-audit-events): List recent security audit events. Requires admin.audit. - [GET /api/v1/accounts/{accountId}/folders](https://fluxmail.ai/docs/rest-api/list-folders): List folders in an email account. - [GET /api/v1/accounts/{accountId}/labels](https://fluxmail.ai/docs/rest-api/list-labels): List Gmail user labels or Outlook categories in an email account. - [GET /api/v1/admin/members/{memberId}/sessions](https://fluxmail.ai/docs/rest-api/list-member-sessions): List a member's sessions. Requires admin.members. - [GET /api/v1/admin/members](https://fluxmail.ai/docs/rest-api/list-members): List members with their roles, status and mailbox and API key counts. Requires admin.members. - [GET /api/v1/accounts/{accountId}/messages](https://fluxmail.ai/docs/rest-api/list-messages): List and filter messages in an email account. - [GET /api/v1/admin/oauth-connections](https://fluxmail.ai/docs/rest-api/list-oauth-connections): List OAuth connections for all members or one member. Requires admin.api_keys. - [GET /api/v1/me/api-keys](https://fluxmail.ai/docs/rest-api/list-own-api-keys): List your API key metadata without returning plaintext secrets. - [GET /api/v1/me/oauth-connections](https://fluxmail.ai/docs/rest-api/list-own-oauth-connections): List the MCP clients you have connected with OAuth. - [GET /api/v1/accounts/{accountId}/scheduled-sends](https://fluxmail.ai/docs/rest-api/list-scheduled-sends): List scheduled messages in an email account. - [GET /api/v1/accounts/{accountId}/send-as](https://fluxmail.ai/docs/rest-api/list-send-as): List sender addresses available for an email account. - [GET /api/v1/me/sessions](https://fluxmail.ai/docs/rest-api/list-sessions): List your member sessions and identify the current session. - [POST /api/v1/auth/login](https://fluxmail.ai/docs/rest-api/login): Sign in with a member email and password and receive a member session. - [POST /api/v1/auth/logout](https://fluxmail.ai/docs/rest-api/logout): Revoke the session used for this request. - [POST /api/v1/accounts/{accountId}/messages/actions](https://fluxmail.ai/docs/rest-api/modify-messages): Apply one mailbox action to a batch of messages. - [POST /api/v1/accounts/{accountId}/send/preview](https://fluxmail.ai/docs/rest-api/preview-send): Resolve the sender, recipients and attachments without sending mail. Requires mail.send, plus mail.drafts for an existing draft or mail.read for a reply. - [PUT /api/v1/admin/oauth-apps/{provider}](https://fluxmail.ai/docs/rest-api/put-administrative-oauth-app): Save an OAuth application in encrypted instance settings. Requires admin.accounts. - [DELETE /api/v1/accounts/{accountId}/connection](https://fluxmail.ai/docs/rest-api/remove-own-account): Disconnect a mailbox you own or administer and remove its stored credentials. - [PUT /api/v1/accounts/{accountId}/send-as](https://fluxmail.ai/docs/rest-api/replace-send-as): Replace the configured Outlook or IMAP aliases for an email account. - [POST /api/v1/auth/password-reset](https://fluxmail.ai/docs/rest-api/reset-password): Set a new password with a reset code and receive a member session. - [DELETE /api/v1/admin/api-keys/{keyId}](https://fluxmail.ai/docs/rest-api/revoke-administrative-api-key): Revoke an API key. Requires admin.api_keys. - [DELETE /api/v1/admin/members/{memberId}/sessions/{sessionId}](https://fluxmail.ai/docs/rest-api/revoke-member-session): Revoke one of a member's sessions. Requires admin.members. - [DELETE /api/v1/admin/oauth-connections/{grantId}](https://fluxmail.ai/docs/rest-api/revoke-oauth-connection): Disconnect a member's MCP client and revoke its OAuth tokens. Requires admin.api_keys. - [DELETE /api/v1/me/api-keys/{keyId}](https://fluxmail.ai/docs/rest-api/revoke-own-api-key): Revoke an API key you own. - [DELETE /api/v1/me/oauth-connections/{grantId}](https://fluxmail.ai/docs/rest-api/revoke-own-oauth-connection): Disconnect one of your MCP clients and revoke its OAuth tokens. - [DELETE /api/v1/me/sessions/{sessionId}](https://fluxmail.ai/docs/rest-api/revoke-session): Revoke one of your member sessions. - [POST /api/v1/messages/search](https://fluxmail.ai/docs/rest-api/search-messages): Search up to 20 email accounts with one portable query. - [POST /api/v1/accounts/{accountId}/send](https://fluxmail.ai/docs/rest-api/send-message): Send a message now or schedule it for a specified time. - [POST /api/v1/admin/imap/tests](https://fluxmail.ai/docs/rest-api/test-administrative-imap-connection): Test IMAP and SMTP settings without saving an account. Requires admin.accounts. - [PATCH /api/v1/admin/accounts/{accountId}](https://fluxmail.ai/docs/rest-api/update-account-access): Change ownership or sharing of a mailbox you own. Requires admin.accounts. To move another member's mailboxes, remove the member with a new owner for their mailboxes. - [PATCH /api/v1/admin/api-keys/{keyId}](https://fluxmail.ai/docs/rest-api/update-administrative-api-key): Update the permissions or mailbox scope of an API key. Requires admin.api_keys. - [PATCH /api/v1/admin/accounts/{accountId}/imap/folders](https://fluxmail.ai/docs/rest-api/update-administrative-imap-folders): Update the folder overrides for an IMAP account. Requires admin.accounts. - [PATCH /api/v1/me](https://fluxmail.ai/docs/rest-api/update-current-member): Change the name of the signed-in member. - [PUT /api/v1/accounts/{accountId}/drafts/{draftId}](https://fluxmail.ai/docs/rest-api/update-draft): Replace the full content of an existing draft. - [PATCH /api/v1/admin/members/{memberId}](https://fluxmail.ai/docs/rest-api/update-member): Change a member's name, email, role or status. Requires admin.members. - [PATCH /api/v1/accounts/{accountId}/access](https://fluxmail.ai/docs/rest-api/update-own-account-access): Share a mailbox you own with every member or with selected members, make it private, or hand it to another member. - [PATCH /api/v1/me/oauth-connections/{grantId}](https://fluxmail.ai/docs/rest-api/update-own-oauth-connection): Replace or clear the mailbox allowlist for an OAuth connection you own. - [PATCH /api/v1/accounts/{accountId}/imap/folders](https://fluxmail.ai/docs/rest-api/update-owned-imap-folders): Update special-folder overrides for an IMAP mailbox you own or administer. - [Send from another address](https://fluxmail.ai/docs/send-as-addresses): Use an existing Gmail, Outlook, or IMAP alias when you draft, reply, forward, send, or schedule a message. - [Sending and retries](https://fluxmail.ai/docs/sending-and-retries): Preview a send, track its delivery, and retry without sending a duplicate. - [Teams & plans](https://fluxmail.ai/docs/teams-and-plans): Add members, set mailbox access, and raise the limits on a self-hosted Fluxmail instance. - [Telemetry](https://fluxmail.ai/docs/telemetry): Turn off anonymous telemetry and see what usage data and optional feedback Fluxmail sends. - [add_labels](https://fluxmail.ai/docs/tools/add-labels): Add labels, or Outlook categories, to messages. - [archive_emails](https://fluxmail.ai/docs/tools/archive-emails): Move messages out of the inbox into the archive. - [cancel_scheduled_email](https://fluxmail.ai/docs/tools/cancel-scheduled-email): Cancel a pending scheduled send by its scheduleId. The draft stays in the Drafts folder, so the content is not lost. Get the scheduleId from send_email or forward_email with sendAt, or from list_scheduled_emails. - [create_draft](https://fluxmail.ai/docs/tools/create-draft): Create a draft in the mailbox. With replyToMessageId, the draft is a reply: recipients and a subject left out come from the original message, replyAll includes all of its recipients, and the original message is quoted below the body unless quoteOriginal is false. - [delete_draft](https://fluxmail.ai/docs/tools/delete-draft): Delete a draft. - [delete_emails](https://fluxmail.ai/docs/tools/delete-emails): Permanently delete messages. This cannot be undone. Gmail accounts connected through Fluxmail's built-in Google app cannot delete permanently; move their messages to the trash instead. - [download_attachment](https://fluxmail.ai/docs/tools/download-attachment): Get metadata and a resource link for one attachment. With inline, the result also includes the content. For a PDF, inline adds extracted text, and pages returns the text of a page range such as 201-400. The size limit is 10 MB. - [forward_email](https://fluxmail.ai/docs/tools/forward-email): Forward an email to new recipients with a "Fwd:" subject and the quoted original. The original attachments are included unless includeAttachments is false, and an optional comment appears above the forwarded content. Repeating a successful forward with the same idempotencyKey and arguments returns the saved result instead of sending again. Add sendAt to schedule the forward instead of sending it now. Scheduled mail is delivered by fluxmail serve or fluxmail scheduled run using the same store. Stdio does not deliver schedules. Overdue mail may send when a worker starts. - [get_delivery_operation](https://fluxmail.ai/docs/tools/get-delivery-operation): Check the saved result of a send or forward, including whether it succeeded, failed or has an uncertain outcome. - [get_draft](https://fluxmail.ai/docs/tools/get-draft): Read an existing draft by its draft ID. - [get_email_body](https://fluxmail.ai/docs/tools/get-email-body): Read a bounded portion of one email body. Use nextOffset to continue. - [get_email](https://fluxmail.ai/docs/tools/get-email): Read one email with its recipients, body and attachment metadata. The body returns at most 50,000 characters, and bodyTruncation reports where each part continues. Use get_email_body to read the rest. - [get_status](https://fluxmail.ai/docs/tools/get-status): Account connection and scheduled-send status, including accounts that need re-authentication, and the time zone for the date above the quoted message in replies. Administrators also see plan details. - [get_thread](https://fluxmail.ai/docs/tools/get-thread): Read a page of messages in an email thread, with at most 50,000 body characters per page. - [MCP tools](https://fluxmail.ai/docs/tools): Use Fluxmail MCP tools to read, search, draft, send, schedule, and organize email. - [list_accounts](https://fluxmail.ai/docs/tools/list-accounts): List the connected mailboxes this connection can access. Each entry includes the account ID, provider, email address, status and capabilities. - [list_emails_batch](https://fluxmail.ai/docs/tools/list-emails-batch): List or search emails in up to 20 accounts at once, with one result group per account. Filter with query, which takes typed search such as from:ann@example.com is:unread, and use folder for a folder role. Each account pages with its own pageToken. - [list_emails](https://fluxmail.ai/docs/tools/list-emails): List or search emails in a mailbox, with metadata and optional previews. Filter with query, which takes typed search such as from:ann@example.com is:unread after:2026-01-01, and use folder for custom folders and labels. Paginate with pageToken. Use get_email for full bodies. - [list_folders](https://fluxmail.ai/docs/tools/list-folders): List the folders in a mailbox, with roles such as inbox, sent, drafts, trash, spam and starred. - [list_labels](https://fluxmail.ai/docs/tools/list-labels): List the Gmail labels or Outlook categories in a mailbox. - [list_scheduled_emails](https://fluxmail.ai/docs/tools/list-scheduled-emails): List scheduled sends: pending ones first, with sendAt, then past ones that were sent, failed or canceled. For failed entries, lastError says what went wrong. Pending sends only fire while the Fluxmail server is running. - [list_send_as](https://fluxmail.ai/docs/tools/list-send-as): List the sender addresses available for a mailbox. - [mark_emails_read](https://fluxmail.ai/docs/tools/mark-emails-read): Mark messages as read. - [mark_emails_unread](https://fluxmail.ai/docs/tools/mark-emails-unread): Mark messages as unread. - [move_emails](https://fluxmail.ai/docs/tools/move-emails): Move messages to a folder other than the archive or trash. - [preview_send](https://fluxmail.ai/docs/tools/preview-send): Show the resolved sender, recipients, subject and attachments without sending mail. - [remove_labels](https://fluxmail.ai/docs/tools/remove-labels): Remove labels, or Outlook categories, from messages. - [restore_emails](https://fluxmail.ai/docs/tools/restore-emails): Move messages out of the trash. - [search_emails_batch](https://fluxmail.ai/docs/tools/search-emails-batch): Another name for `list_emails_batch`, with the same arguments, permissions and results. - [search_emails](https://fluxmail.ai/docs/tools/search-emails): Another name for `list_emails`, with the same arguments, permissions and results. - [send_email](https://fluxmail.ai/docs/tools/send-email): Send an email from a connected mailbox. There are three modes: direct (to, subject and body), an existing draft (draftId), or a reply (replyToMessageId, optionally with replyAll) that takes its recipients, subject and threading from the original and quotes it below the body unless quoteOriginal is false. Repeating a successful send with the same idempotencyKey and arguments returns the saved result instead of sending again. Reusing a key with different arguments, or after a failed or uncertain send, returns an error. Add sendAt to any mode to schedule the message instead of sending it now. Confirm with the user when the intent is ambiguous. Scheduled mail is delivered by fluxmail serve or fluxmail scheduled run using the same store. Stdio does not deliver schedules. Overdue mail may send when a worker starts. - [send_feedback](https://fluxmail.ai/docs/tools/send-feedback): Submit feedback about Fluxmail with your approval, optional reply address and supported diagnostics. - [star_emails](https://fluxmail.ai/docs/tools/star-emails): Star messages. - [trash_emails](https://fluxmail.ai/docs/tools/trash-emails): Move messages to the trash, where they can be restored until the provider empties it. - [unstar_emails](https://fluxmail.ai/docs/tools/unstar-emails): Remove the star from messages. - [update_draft](https://fluxmail.ai/docs/tools/update-draft): Replace the content of an existing draft. This is a full replacement, not a patch. To keep the quoted original in a reply draft, pass its replyToMessageId again. A quote Fluxmail added earlier is replaced, not repeated. - [Troubleshooting](https://fluxmail.ai/docs/troubleshooting): Fix common Fluxmail installation, mailbox connection, and authentication problems. - [Upgrade Fluxmail](https://fluxmail.ai/docs/upgrade-fluxmail): Back up an installation, check client compatibility, and verify an upgrade. - [Upgrade to 0.11.0](https://fluxmail.ai/docs/upgrades/0.11.0): Update send, bulk modify, MCP, and CLI clients for the new delivery contracts. - [Upgrade to 0.14.0](https://fluxmail.ai/docs/upgrades/0.14.0): Choose permissions for stdio clients and new API keys, restore permanent deletion, and read inline attachment content. - [Upgrade to 0.15.0](https://fluxmail.ai/docs/upgrades/0.15.0): Move to Node.js 22.22 or later before installing Fluxmail 0.15.0. - [Upgrade to 0.17.0](https://fluxmail.ai/docs/upgrades/0.17.0): Update custom MCP error handling and HTTP response parsing, and back up the store before upgrading. - [Upgrade to 0.19.0](https://fluxmail.ai/docs/upgrades/0.19.0): Keep MCP arguments within published input limits and normalize date filters before calling tools. - [Upgrade to 0.24.0](https://fluxmail.ai/docs/upgrades/0.24.0): Move MCP list and search filters into query, rename get_email_body format to bodyFormat, and send only declared tool arguments. - [Upgrade to 0.25.0](https://fluxmail.ai/docs/upgrades/0.25.0): Mailbox owners control sharing and server settings, administrators move mailboxes by removing members, and keys created for others reach only mailboxes both members can read. - [Upgrade from 0.4 to 0.5](https://fluxmail.ai/docs/upgrades/0.5.0): Migrate an existing Fluxmail 0.4.x instance to member authentication in Fluxmail 0.5.0. - [Upgrade to 0.6.0](https://fluxmail.ai/docs/upgrades/0.6.0): Migrate plaintext configuration to typed deployment configuration and encrypted instance settings. - [Upgrade to 0.7.0](https://fluxmail.ai/docs/upgrades/0.7.0): Migrate search filters, typed search strings, provider capabilities, and page tokens. - [Upgrade to 0.9.0](https://fluxmail.ai/docs/upgrades/0.9.0): Prepare stored data and custom email providers for Fluxmail 0.9.0. - [Use the CLI](https://fluxmail.ai/docs/use-the-cli): Read and manage email, then configure the Fluxmail instance from the same command line. ### Fluxmail Cloud - [Account settings](https://fluxmail.ai/docs/cloud/account): Verify your email, recover access, and delete your Cloud account. - [Billing and plans](https://fluxmail.ai/docs/cloud/billing): Start a trial, choose a Cloud plan, and manage your subscription. - [Fluxmail Cloud](https://fluxmail.ai/docs/cloud): Give agents and apps access to your existing mailboxes through hosted MCP and REST. - [Connect mailboxes](https://fluxmail.ai/docs/cloud/mailboxes): Authorize Gmail, Outlook, or an IMAP and SMTP mailbox in Cloud. - [Connect an agent over MCP](https://fluxmail.ai/docs/cloud/mcp): Connect ChatGPT, Claude, Claude Code, Codex, Cursor, and other MCP clients such as VS Code to Gmail, Outlook, and IMAP through Fluxmail Cloud's hosted MCP server. - [Agent connections and permissions](https://fluxmail.ai/docs/cloud/permissions): Choose mailbox access and permissions, then manage OAuth connections or agent keys. - [Cloud quickstart](https://fluxmail.ai/docs/cloud/quickstart): Connect a mailbox and make your first verified agent connection. - [Use the Cloud REST API](https://fluxmail.ai/docs/cloud/rest-api): Make your first request, choose a mailbox, and look up operation arguments. - [Sending and retries](https://fluxmail.ai/docs/cloud/sending): Send or schedule messages and saved drafts, and check uncertain outcomes without duplicating mail. - [Troubleshooting and limits](https://fluxmail.ai/docs/cloud/troubleshooting): Resolve connection failures, missing tools, API errors, and quota limits. - [Workspaces and members](https://fluxmail.ai/docs/cloud/workspaces): Switch workspaces, invite Business members, share mailboxes, and manage workspace access. ### Docs - [Documentation](https://fluxmail.ai/docs): Fluxmail gives agents and apps access to your email through MCP and REST. Use Fluxmail Cloud as a managed service, or run Fluxmail Self-Hosted on your own computer or server. ## Blog posts - [Connect Gmail and Outlook to Meta Muse](https://fluxmail.ai/blog/connect-gmail-outlook-to-meta-muse): Add Fluxmail to Meta Muse as a custom connector so Muse can search, read, draft, and send email in your Gmail, Outlook, and IMAP mailboxes, with the permissions you choose. - [Connect Proton Mail to Claude](https://fluxmail.ai/blog/connect-proton-mail-to-claude): Connect Proton Mail to Claude Code or Claude Desktop with Proton Mail Bridge and self-hosted Fluxmail on the same computer. Requires a paid Proton plan with Mail. - [IMAP MCP server for Claude, ChatGPT and Cursor](https://fluxmail.ai/blog/imap-mcp-server): Connect iCloud, Yahoo, Fastmail, Zoho, Exchange, or any other IMAP mailbox to an AI agent over MCP, with the server settings and app passwords each provider needs. - [Connect Zoho Mail to Claude over IMAP](https://fluxmail.ai/blog/connect-zoho-mail-to-claude): Turn on IMAP in Zoho Mail, create an app-specific password, and connect your Zoho mailbox to Claude, Claude Code, or Cursor through Fluxmail. - [Connect Fastmail to Claude](https://fluxmail.ai/blog/connect-fastmail-to-claude): Connect Fastmail to Claude through Fluxmail with an app password. Search mail, read attachments, and draft replies across one or more Fastmail accounts. - [Connect Yahoo Mail to Claude](https://fluxmail.ai/blog/connect-yahoo-mail-to-claude): Claude has no built-in Yahoo Mail connector. Add Fluxmail from the connector directory and connect Yahoo Mail with an app password. - [AgentMail alternatives for AI agents](https://fluxmail.ai/blog/agentmail-alternatives-for-ai-agents): Five alternatives to AgentMail: Fluxmail for agents that work in your own Gmail or Outlook, plus Nylas Agent Accounts, Resend Inboxes, Cloudflare, and Amazon SES. - [The best email APIs for AI agents](https://fluxmail.ai/blog/best-email-apis-for-ai-agents): Six email APIs for agents that read and send mail, compared by whose mailboxes they connect, MCP support, hosting, and pricing. - [The best Outlook MCP servers for Microsoft 365 and Outlook.com](https://fluxmail.ai/blog/best-outlook-mcp-servers): Six ways to connect Outlook to Claude, ChatGPT, Cursor, or your own agent over MCP, compared on personal Outlook.com support, admin setup, sending, and price. - [The best Gmail MCP servers for Claude, ChatGPT and Cursor](https://fluxmail.ai/blog/best-gmail-mcp-servers): Seven ways to connect Gmail to an AI agent over MCP, compared on personal Gmail support, sending, attachments, Google OAuth setup, and price. - [The best email MCP servers for AI agents in 2026](https://fluxmail.ai/blog/best-email-mcp-servers): Eight hosted and open-source ways to give Claude, ChatGPT, Cursor, or your own agent email access over MCP, with what each one can do and its price. - [Nylas alternatives for AI agents](https://fluxmail.ai/blog/nylas-alternatives-for-ai-agents): Four alternatives to Nylas for giving AI agents email access (Fluxmail, EmailEngine, Composio, and AgentMail), plus when Nylas is still the better fit. - [How to connect Gmail or Outlook to Claude, ChatGPT and Cursor over MCP](https://fluxmail.ai/blog/connect-gmail-outlook-to-claude-chatgpt-cursor): Step-by-step setup for connecting a Gmail or Outlook mailbox to Claude, ChatGPT, Cursor, Claude Code, and Codex through the Fluxmail Cloud MCP server, plus how to do it with self-hosted Fluxmail. - [Introducing Fluxmail Cloud: hosted email access for AI agents](https://fluxmail.ai/blog/introducing-fluxmail-cloud): Fluxmail Cloud is a hosted version of Fluxmail. Connect Gmail, Outlook, or an IMAP mailbox, then give ChatGPT, Claude, Codex, and other agents access over MCP or REST with the mailboxes and permissions you approve. - [Pull invoices and receipts from email attachments with an agent](https://fluxmail.ai/blog/extract-invoices-from-email-attachments): Have Claude Code find invoice emails, download the PDFs, and build a spreadsheet of vendors, dates, and totals. The agent only gets read access to your mail. - [Get a daily inbox summary from your agent on a schedule](https://fluxmail.ai/blog/daily-inbox-summary-on-a-schedule): Use Claude Code's built-in scheduler to summarize your inbox every morning with read-only access, either inside a running session or as a Desktop scheduled task that runs every day. - [Draft email replies in your voice with Claude Code](https://fluxmail.ai/blog/draft-email-replies-in-your-voice-with-claude-code): Build a short style guide from your own sent mail, then have Claude Code draft replies that sound like you. Drafts wait in your mailbox until you send them. - [Connect on-premises Exchange to an AI agent](https://fluxmail.ai/blog/connect-exchange-server-to-ai-agent): Microsoft 365 connectors and Graph-based MCP servers only reach Exchange Online. Connect a mailbox on Exchange Server 2016, 2019, or Subscription Edition to Claude, Codex, or Cursor over IMAP and SMTP. - [Claude connector for iCloud Mail and Apple Mail](https://fluxmail.ai/blog/connect-icloud-mail-to-claude): Claude has no built-in iCloud or Apple Mail connector. Add Fluxmail from Claude's connector directory and connect iCloud with an app-specific password. - [Triage your Outlook inbox with Claude Code](https://fluxmail.ai/blog/triage-outlook-with-claude-code): Connect Outlook.com, Hotmail, or Microsoft 365 mail to Claude Code, sort what needs a reply, archive the rest, and draft answers for review. Works with personal Microsoft accounts. - [Triage your Gmail inbox with Claude Code](https://fluxmail.ai/blog/triage-gmail-with-claude-code): Connect Gmail to Claude Code, sort unread mail into what needs a reply, what to read later, and what to archive, and turn the routine into a one-word command. - [How to give an AI agent access to your Gmail or Outlook inbox safely](https://fluxmail.ai/blog/give-ai-agent-email-access-safely): Connect Gmail or Outlook to an AI agent over MCP, see which OAuth permissions each one asks for and when an admin has to approve, and let the agent read your mail without being able to send it. - [Introducing Fluxmail MCP: connect email to your AI agent](https://fluxmail.ai/blog/introducing-fluxmail-mcp): Fluxmail MCP is a self-hosted server that lets AI agents read, search, draft, send, and organize mail across Gmail, Outlook, Exchange, and IMAP accounts.