Bugs in eM Client MCP server (Claude integration)

Hello,

I’m using the eM Client MCP server with Claude (Claude desktop app, Windows 11 Pro). Several tools fail or behave differently from their own tool descriptions. Account: IMAP account eM Client version: 11.0.865. All tests were run on 28 October 2026.

1. get_email_data always fails: output-schema validation error

Called with one or more valid email IDs (taken from search_emails):

Error: Structured content does not match the tool’s output schema: data/result/0 must have required property ‘forwarded_date’, data/result/0 must have required property ‘replied_to_date’, data/result/0 must have required property ‘headers’, data/result/0/attachments/0 must have required property ‘content_id’, …

With include_headers: ["Subject","Date","From"] the headers error goes away, but this still remains:

data/result/0 must have required property ‘forwarded_date’, data/result/0 must have required property ‘replied_to_date’

It looks like empty fields (not forwarded or replied, no Content-ID) are left out of the result, while the output schema marks them as required. Because of this, no individual email can be read, and attachment part names can’t be retrieved either.

2. list_email_folders and list_special_email_folders_only fail with the same kind of error

Error: Structured content does not match the tool’s output schema: data/result/0 must have required property ‘color’, data/result/1 must have required property ‘color’, …

Folders without a colour have no color field, while the schema requires it. Folder IDs can’t be retrieved any other way. The folder_path that search_emails returns (e.g. /07f1fe7e-bed9-4323-8538-954d88cd2d02.INBOX) is rejected as a folder ID:

The provided folder ID ‘/07f1fe7e-bed9-4323-8538-954d88cd2d02.INBOX’ is invalid.

As a result I can’t move emails to a folder (move_emails) or search within a folder.

3. create_email with type: "forward" sends an empty email

Call: type: "forward", original_email_id (a valid email with a PDF attachment), to, subject filled in, and send_immediately: true. The tool reports success and returns an email_id. The sent message in the Sent folder, however, has no body and no attachments. According to the tool description, the original email is quoted automatically when forwarding, and I’d expect the attachments to go along too, as they do when forwarding from eM Client itself.

4. create_email: subject required when forwarding, and a draft is left behind after an error

Without subject, with send_immediately: true:

subject cannot be empty if send_immediately is true.

The tool description says the subject is generated automatically for forwards when it’s left empty. On top of that, after this error an empty draft with no subject, but with the recipient already filled in, stayed behind in the Drafts folder.

5. Attachments: only the whole email as .eml works, not a single attachment

According to the tool description, an attachment can be a local file, a reference to an existing attachment, base64 data, or an existing email. The field names aren’t documented. What I tried:

Attachment given Result
{"email_id": "<id>"} Whole email attached as .eml
{"email_id": "<id>", "attachment_part_name": "2"} Whole email as .eml, the part name is ignored
{"type": "attachment", "email_id": "<id>", "attachment_part_name": "2"} Whole email as .eml
{"uri": "attachment://<folder-guid>/<email-id>/2"} Email attachment shape does not identify a supported attachment type.
{"attachment_uri": "attachment://…/2"} Same error

The attachment://… URI comes from get_email_attachment_content itself, but create_email doesn’t accept it. My request: please document the correct format for a reference to an existing attachment.

My mail server rejects .eml attachments. This is the error eM Client showed:

[SMTP] Cannot send message (Sending email “FW: Je STRATO factuur voor je klantnummer 73903045” failed with error: Email body not accepted due to the following reason: “Attached file ‘Je STRATO factuur voor je klantnummer 73903045.eml’ has disallowed extension.”)

That’s a server-side setting, but it makes a single attachment like the one above the only way to forward a PDF.

6. get_email_attachment_content returns the attachment double base64-encoded

With attachment_part_name: "2" I get the PDF back (mimeType: application/pdf). However, the blob field starts with SlZCRVJp…. Decoded, that is JVBERi…, which is itself base64 for %PDF-. So the content is base64-encoded twice.

7. search_emails: date filters don’t work, and from_contains requires a list

  • received_after and received_before in query.properties are ignored. With and without these filters I get exactly the same results.
  • from_contains: "strato" returns The JSON value could not be converted to System.String[]. Only a list works, ["strato"], but the description doesn’t say so.

What does work: list_email_accounts, search_emails (without date or folder filters), get_conversation_data, and sending a new email without attachments.

Could you look into these issues? Points 1, 2, 3 and 5 in particular make it impossible to forward emails with attachments or to move emails through the MCP server.

Thanks!

Hello, we are aware of these compatibility issues and working on the fixes. You can expect update that fixes most of these issues in a couple of days.