A MCP server that reads email with notmuch and uses sendmail for LaTeX-enhanced email composition
Connect MCP to Claude, Cursor or any other MCP client and it stops being a tab you switch to. A MCP server that reads email with notmuch and uses sendmail for LaTeX-enhanced email composition. The mcp mcp server is what makes that connection.
Let Claude be your email assistant! MCP Notmuch Sendmail connects Claude Desktop to your notmuch email database, allowing it to:
The toolset is worth reading before you wire it up, because it tells you what the integration is really for:
find_email_thread — Find email threads in the notmuch databaseInput — notmuch_search_query (string)view_email_thread — View all messages for an email threadcompose_new_email — Compose a new email draft from markdown. A signature will be automatically added if SENDMAIL_EMAIL_SIGNATURE_HTML is setInputs — - subject (string): Email subjectcompose_email_reply — Compose a reply to an existing email thread. A signature will be automatically added if SENDMAIL_EMAIL_SIGNATURE_HTML is setsend_email — Sends the composed email draftsync_emails — Synchronizes emails by running the configured scriptTools — The Tools tool exposed by this serverEnglish — The English tool exposed by this serverGerman — The German tool exposed by this serverFrench — The French tool exposed by this serverConfiguration is passed through the environment: NOTMUCH_DATABASE_PATH, NOTMUCH_REPLY_SEPARATORS, SENDMAIL_FROM_EMAIL, SENDMAIL_EMAIL_SIGNATURE_HTML, NOTMUCH_SYNC_SCRIPT, LOG_FILE_PATH, DRAFT_DIR. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.
Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client.
Plenty of team communication servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. MCP's toolset — find_email_thread, Input, view_email_thread and 11 more — is a fair guide to whether it matches your workflow. It is maintained by Rune Kaagaard; worth a glance at recent repository activity before you build anything load-bearing on it.
We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.
| Tool | What it does |
|---|---|
| find_email_thread | Find email threads in the notmuch database |
| Input | notmuch_search_query (string) |
| view_email_thread | View all messages for an email thread |
| compose_new_email | Compose a new email draft from markdown. A signature will be automatically added if SENDMAIL_EMAIL_SIGNATURE_HTML is set. |
| Inputs | - subject (string): Email subject |
| compose_email_reply | Compose a reply to an existing email thread. A signature will be automatically added if SENDMAIL_EMAIL_SIGNATURE_HTML is set. |
| send_email | Sends the composed email draft |
| sync_emails | Synchronizes emails by running the configured script |
| Tools | The Tools tool exposed by this server. |
| English | The English tool exposed by this server. |
| German | The German tool exposed by this server. |
| French | The French tool exposed by this server. |
| Dutch | The Dutch tool exposed by this server. |
| Italian | Note: Use | (pipe) to separate patterns. These are simplified patterns derived from common email clients - you may need to adjust them based on your specific needs. |
| Variable | Description | Required |
|---|---|---|
| NOTMUCH_DATABASE_PATH | Filesystem location the server is allowed to use. | Optional |
| NOTMUCH_REPLY_SEPARATORS | Configuration value read at startup. | Optional |
| SENDMAIL_FROM_EMAIL | Configuration value read at startup. | Optional |
| SENDMAIL_EMAIL_SIGNATURE_HTML | Configuration value read at startup. | Optional |
| NOTMUCH_SYNC_SCRIPT | Configuration value read at startup. | Optional |
| LOG_FILE_PATH | Filesystem location the server is allowed to use. | Optional |
| DRAFT_DIR | Filesystem location the server is allowed to use. | Optional |
Your assistant inside the workspace — read channels, search history, post messages and tame the noise.
Inbox intelligence — search, read, draft and send Gmail through your assistant with OAuth auto-setup.
Read and write Jira, Confluence, Bitbucket, JSM and Compass from your AI client — with your own permissions.
Read and send Telegram messages through your assistant — chats, channels and history via the client API.
Enables Discord bot integration with Model Context Protocol (MCP) compatible applications like Claude Desktop.
Exposes REST APIs defined by OpenAPI specifications as Model Context Protocol (MCP) tools, facilitating seamless integration into MCP-based workflows.