Connect your email to any AI agent
A self-hosted email server for agents and apps. Connect over MCP or the REST API to read, search, draft, and send through Gmail, Outlook, or IMAP.
Use email in your agents
Link Fluxmail with your agent and use it to run customer support, sales, automate your inbox, and more.
Personal assistants
Give Claude Code, ChatGPT, or OpenClaw access to your email. Ask it to search your mail, give you a daily brief, or draft a reply.
Customer support
Link your shared mailboxes and automatically draft replies to customer support emails.
Sales and outreach
Send cold emails, automatically follow up with leads, and stay on top of your pipeline.
Automation
Run your mailbox on a schedule: route invoices to bookkeeping, label recruiting mail, and archive receipts.
Everything you need to manage your email
Give your agent a unified API for reading, drafting, sending, and organizing email.
Search and read
Full-text search with filters for sender, folder, unread, and dates. Read full bodies, whole threads, and attachment metadata.
search_emailslist_emailsget_emailget_threadlist_foldersDraft and send
Create and revise drafts, then send, schedule, reply, or forward with correct threading. You can also review or cancel scheduled sends.
create_draftupdate_draftdelete_draftsend_emailforward_emaillist_scheduled_emailscancel_scheduled_emailOrganize
Batch mark read, star, archive, label, move, or trash. Download attachments inline or straight to disk.
modify_emailsdownload_attachmentAccounts and status
List connected accounts with their capabilities, and check auth status and plan limits before doing work.
list_accountsget_statusBuild email into your own apps
Call Fluxmail from a local script or your product's backend. The REST API exposes the same connected mailboxes and access controls as MCP.
One API across providers
Use the same routes and response shapes across Gmail, Outlook, Exchange, and IMAP.
Complete email workflows
Search mail, manage drafts, send or schedule messages, organize inboxes, and download attachments.
OpenAPI 3.1 included
Generate a client or inspect every route with the public contract at /api/v1/openapi.json.
curl "$FLUXMAIL_URL/api/v1/accounts/$ACCOUNT_ID/messages" \
--get \
--data-urlencode "folder=inbox" \
--data-urlencode "unreadOnly=true" \
-H "Authorization: Bearer $FLUXMAIL_API_KEY"Your emails are private and secure
Fluxmail runs on your own infrastructure.
Run on your own infra
You run the MCP server on your own infrastructure and have full control over how it works.
Your emails are private
Your agent connects to your email provider through the server you run. Your emails are not stored on our servers.
Source-available code
The code is public on GitHub. You can audit it, report issues, and follow along on progress.
Works with Gmail, Outlook, and IMAP
Connect Google Workspace, Outlook, Exchange, or any mailbox with IMAP and SMTP access.