MCP server for email

Connect your AI assistant to your business email with MCP

XgenPlus has an MCP server. Claude Code, OpenCode, Cursor, VS Code Copilot and n8n can read, search, draft and, if you allow it, send mail from your own mailbox. It is free on every paid plan.

In short

What is the XgenPlus MCP server?

The XgenPlus MCP server lets an AI assistant work inside your own mailbox through the Model Context Protocol, with 53 tools: 41 for mail, contacts, calendar and tasks, plus 12 read-only admin tools for domain admins. You create a separate agent password in webmail, choose each permission, and add the server at https://mcp.xgenplus.com/mcp to your assistant. It is included free on every paid XgenPlus plan with fair-use limits, nothing is switched on until you create the password, and permanent deletion is never possible.

What you can ask

What can an AI assistant do with your business email?

These requests come from our own setup guide. Each works as written once the right permission is on.

  • Morning briefing: What needs my attention today? Unread mail, today meetings and pending invitations.
  • Inbox triage: Star anything from clients, mark newsletters as read and move vendor mail to my Vendors folder.
  • Draft replies: Draft polite replies to the three unanswered client emails. Do not send; I will review them in webmail.
  • Find a document: Find last March invoice from Acme and tell me the total.
  • Follow-ups: Which emails I sent last week have not had a reply?
  • Scheduling: When am I free for an hour on Thursday? Draft an email offering two slots.
Use cases

Email automation with MCP: what teams run on it

Each use case lists the tools it relies on. Replies and new mail are saved as drafts for a person to check, and nothing is sent unless you turned on Send & Save.

Support inbox triage

Sort unread customer mail by urgency, list the oldest threads still waiting for an answer, and save a first-reply draft that follows how you answered the same question before.

Tools: list_messages get_thread search_text create_reply_draft

Sales follow-ups

Find mail you sent to customers a week ago that never got a reply, and save a short nudge for each. Before a call, pull the full history with one customer.

Tools: list_messages get_thread search_text create_draft

Accounts and invoices

Find invoice mail from the last month, open each PDF and list the vendor, number, date and amount in a table. A person still checks the amounts, and nothing is posted into your books.

Tools: search_text get_message get_attachment count_messages

Meetings and scheduling

Ask for a free hour on Thursday, list the invitations waiting for your answer, and save a draft offering two slots. The calendar is read-only, so a person books the meeting.

Tools: get_agenda find_free_time list_invitations create_draft

Mailbox cleanup

See which newsletters you never open and how to unsubscribe, find the biggest messages and senders, and move bulk mail into folders you already have. Delete moves mail to Trash, and only if you allow it.

Tools: list_subscriptions get_storage_usage move_messages trash_messages

Scheduled automation with n8n

Run a prompt every morning from the MCP Client node in n8n or from your own code: a daily inbox summary, or drafts for new enquiries. Give each workflow its own agent password with only the permissions it needs.

Tools: get_inbox_summary search_messages create_draft

Automation guide in the Help Center

Setup

How to connect your assistant to XgenPlus mail

  1. Create an agent password

    In webmail open Settings, Security, AI Agents (MCP) and create an agent password. It is separate from your mailbox password.

  2. Choose the permissions

    Tick only what this assistant needs: search, read, mark and move, drafts, reply, send. Copy the token.

  3. Add the server

    Add https://mcp.xgenplus.com/mcp to your assistant with the token in the Authorization header. The Help Center has a guide for each assistant.

  4. Test it

    Ask the assistant to call get_mailbox_profile, which needs no permission. Then ask what unread mail you have today.

Compatibility

Which AI assistants work with XgenPlus MCP?

These work today. ChatGPT and the claude.ai web app sign in with OAuth, which we do not support yet.

AssistantStatusHow it connects
Claude CodeWorksOne command, then check with the /mcp command
Claude DesktopWorksThrough the mcp-remote bridge in the config file
CursorWorksAdded in mcp.json for all projects or one project
VS Code, GitHub CopilotWorksAgent mode, with a password prompt that keeps the token out of the file
n8nWorksThe MCP Client node in n8n, or the MCP SDK in your own code
OpenCodeWorksAdded in opencode.json, with the token in an environment variable
ChatGPT, claude.aiNot yetNeeds OAuth sign-in, which XgenPlus MCP does not have yet
Tool reference

Which tools does the XgenPlus MCP server expose?

53 tools in all: 41 for every mailbox and 12 read-only admin tools for domain admins. The tools an assistant can use depend on the permissions you tick when you create the agent password.

Read and search mail (14)

ToolWhat it doesPermission
get_mailbox_profileWho the mailbox belongs to and which permissions are onNone needed
get_usage_guideHow to use the tools: ids, folders, workflows, errors, limitsNone needed
list_foldersFolders with total and unread countsList folders
get_inbox_summaryUnread counts, top unread senders, starred and drafts at a glanceSearch email
list_messagesMessages in a folder, newest firstSearch email
search_messagesSearch by sender, To, Cc and subject, with optional previews of the textSearch email (previews also need Read email)
search_textSearch the words in message text, in the last 180 days or within one sender, domain or date rangeSearch email, Read email
count_messagesCount every matching message, with totals by month, folder and senderSearch email
list_subscriptionsNewsletters in the inbox, how often you read them, and how to unsubscribeSearch email
get_storage_usageSpace used per folder and in Trash, and the largest messages and sendersSearch email
get_messageOne message with its body and attachment listRead email
get_message_partsA message's plain-text and HTML parts separately, its MIME structure and headersRead email
get_threadA conversation as summaries, oldest first. A long one returns its newest 25.Read email
get_attachmentDownload an attachment, or its textRead email

Organise mail (4)

ToolWhat it doesPermission
mark_messagesMark read or unread, star or unstarMark read / unread
move_messagesMove to inbox, spam or one of your foldersMove email
trash_messagesMove to Trash (recoverable)Delete email
restore_messagesRestore from TrashMove email

Drafts and sending (9)

ToolWhat it doesPermission
create_draftSave a new draftSave to Drafts
update_draftReplace a draft with new contentSave to Drafts
delete_draftMove a draft to TrashSave to Drafts
create_reply_draftSave a reply as a draftReply / Forward, Save to Drafts, Read email
create_forward_draftSave a forward as a draftReply / Forward, Save to Drafts, Read email
send_messageSend a new mailSend & Save
send_draftSend an existing draftSend & Save
send_replyReply and sendSend & Save, Reply / Forward, Read email
send_forwardForward and sendSend & Save, Reply / Forward, Read email

Contacts, calendar, tasks and settings (14)

ToolWhat it doesPermission
search_contactsFind people in your contacts and the company directorySearch email
get_contactOne contact's full cardSearch email
list_contactsPage through your contactsSearch email
list_contact_groupsYour contact groupsSearch email
get_frequent_contactsPeople you email mostSearch email
list_calendarsYour calendars and those shared with youRead email
list_eventsEvents between two datesRead email
get_eventOne event in fullRead email
get_agendaA day at a glanceRead email
find_free_timeFree slots in working hoursRead email
list_invitationsMeeting invitations waiting for your responseRead email
list_tasksYour tasks, soonest due firstRead email
get_signatureYour email signaturesRead email
get_out_of_officeWhether your auto-reply is on, with its messageRead email

Tool names, descriptions and permission labels are in English, as they appear in the Help Center and in webmail.

For IT and domain admins

MCP for enterprise email: read-only admin tools

On a domain admin mailbox the server adds 12 lookup tools, so an assistant can answer common admin questions about your own domain.

  • Look up a user: type, status, last login, expiry, aliases, the services switched on (such as POP and IMAP) and security settings like 2-step sign-in.
  • Check one user storage and limits, or see the whole domain at a glance: users, inactive users, accounts expiring in 30 days, storage, licences and mailing lists.
  • List mailing lists with their moderators and subscribers, and see who on the domain has an agent password.
  • These tools only look things up. They cannot edit, add, reset or delete anything, they cannot read mail, and they cover only the domain of the admin who signed in.
  • Every agent password on a domain admin mailbox gets these tools, whatever its permissions. Use a separate agent password for admin lookups and leave Send & Save off.

Domain admin tools (read-only) (12)

ToolWhat it does
admin_search_usersFind users by name or email, or list them all, 50 per page: type, active, last login, expiry. Owner, server and billing accounts are not listed.
admin_get_userUser id, email, name, display name, type, status, phone, company, created, last login and its IP address, multiple sessions
admin_get_user_storageAllowed and used mailbox space, percent used, unlimited or not. Used space can lag behind.
admin_get_user_limitsLimits on folders, incoming and outgoing mail per day, data per day, contacts, rules, attachment size and recipients
admin_get_user_expiryWhen the user's account and the domain expire
admin_list_aliasesThe user's email aliases and the date each was added
admin_get_user_accessWhich services are on, including POP and IMAP, with the POP and IMAP since dates
admin_get_user_security2-step sign-in, alternate email, phone, allowed home and office IP addresses and countries
admin_list_mailing_listsMailing lists with subscriber and moderator counts, 50 per page
admin_get_mailing_listOne list's moderators, up to 200, and subscribers with their type, 50 per page
admin_get_domain_summaryUsers, inactive users, accounts expiring in 30 days, storage, licensed users and space, domain expiry, mailing lists
admin_list_agent_usersWho has an agent password: agent name, active or not, created and expiry. Up to 200 accounts. Other admins' agents are not shown.

MCP admin tools in the Help Center

Safety

How is your mailbox protected?

  • The agent password is separate from your mailbox password. You can pause or delete it in webmail at any time.
  • An assistant can reach only your own mailbox, and it never has admin rights.
  • Nothing is deleted for good. A delete moves mail to Trash, and only if you turned that permission on.
  • A risky send, such as the first mail to an outside address or an attachment leaving your domain, is saved as a draft for you to check. Mail sent by an assistant carries a signed header.
  • We log which tool was used, when and whether it worked. We never log subjects, message bodies or attachments, and the log is kept for 60 days.
  • XgenPlus does not send your mail to any AI provider and does not run AI on it. Mail your assistant reads goes to that assistant and its provider under their terms, so check whether they can train on it.

Read the MCP privacy and security page

Cost

Is the MCP server free?

Yes. MCP is included on every paid XgenPlus plan with no add-on and no charge per call. A fair-use limit on calls per mailbox stops one runaway automation from slowing the mail server for other customers. Normal use stays well inside it.

Questions

XgenPlus MCP, answered

What is the XgenPlus MCP server?

A service that lets an AI assistant such as Claude Code, Cursor or GitHub Copilot work in your own XgenPlus mailbox through the Model Context Protocol, with 53 tools: 41 for mail, contacts, calendar and tasks, plus 12 read-only admin tools for domain admins, limited to the permissions you choose.

Does the XgenPlus MCP server cost extra?

No. It is included on every paid XgenPlus plan with no add-on and no charge per call. A fair-use policy limits how many calls each mailbox can make.

Which AI assistants work with XgenPlus MCP?

Claude Code, OpenCode, Cursor, VS Code with GitHub Copilot, n8n and your own code work directly. Claude Desktop works through a small bridge. ChatGPT and claude.ai on the web do not work yet because they need OAuth sign-in.

Can an AI assistant delete or send my email?

Only if you give it that permission. Deleting moves mail to Trash and nothing is ever deleted for good. A risky send, such as a first mail to an outside address, is saved as a draft for you to review.

Does XgenPlus read my mail or run AI on it?

No. XgenPlus does not send your mail to any AI provider and does not run AI on it. Mail your assistant reads goes to that assistant and its provider under their terms.

How do I turn XgenPlus MCP off?

Open Settings, Security, AI Agents (MCP) in webmail and pause or delete the agent password. Nothing is connected until you create one.

Can I use MCP for email automation?

Yes. An MCP client such as the n8n MCP Client node, or your own code, can call the same tools on a schedule, for example a daily inbox summary or drafts for new enquiries. Use one agent password per workflow with only the permissions it needs, and save drafts instead of sending.

Does XgenPlus MCP work for enterprise email and domain admins?

Yes. A domain admin mailbox also gets 12 read-only admin tools for looking up users, storage, limits, aliases, mailing lists and a domain summary. They cannot change anything or read mail, and they cover only your own domain.

How many tools does the XgenPlus MCP server have?

53: 41 for every mailbox, covering mail, contacts, calendar, tasks, signature and out-of-office, plus 12 read-only admin tools for domain admins. The Help Center has the full list with the permission each one needs.

Get started

Connect your first assistant