1. Conduid
  2. Search
  3. Rmcp Mailer
MCP server · Search

Rmcp Mailer

An example rust-based MCP server for sending emails.

Unclaimed search
34Low

Scored 7 months ago · breakdown

About Rmcp Mailer

Rmcp Mailer is an MCP server in the Search category: an example rust-based MCP server for sending emails.

Install

From source
git clone https://github.com/AlvinHon/rmcp-mailer

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Rmcp Mailer

Powered by Claude · Grounded in docs

I know everything about Rmcp Mailer. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.

5 checks have not been run yet.

README

MCP Server for Personal Mailer

An example project for a rust-based MCP (Model Context Protocol) server for personal mailer. It enables the users to send emails simply making prompts to the LLM chat interfaces such as Cursor and Copilot.

This is implemented by using the official rust sdk for MCP (in active development). It mainly uses the crate lettre as the SMTP client under the hood.

Usage

This section describes some use cases to show that the MCP server is more interesting than the traditional email programs.

Traditional email programs require the user know how to input the data to the program in order to work (e.g. sending an email). Here, we can just use simple words and the LLM will help us to create the input data so that it can be fitted into the "program".

Example 1:

send an formal email to Bob (bob@domain.com). invite him to my friend Chris's wedding. closing with my name "Alvin"

LLM:

Email sent successfully!

SMTP:

From: test@test.com
Subject: Invitation to Chris's Wedding
Content-Type: text/plain; charset=utf-8
To: bob@domain.com
Content-Transfer-Encoding: quoted-printable
Date: Sun, 18 May 2025 12:59:33 +0000
X-Peer: ('127.0.0.1', 58769)

Dear Bob,

I hope this message finds you well. I am writing to formally invite you to =
my friend Chris's wedding. It would be a pleasure to have you join us for t=
his special occasion.

Please let me know if you are able to attend.

Best regards,
Alvin

Example 2:

add a email template named "greeting". It is a greeting to a new customer.

LLM:

Email template created successfully!

Template:

Hello {customer_name},

Welcome to our service! We are excited to have you as a new customer.

Best regards,
The Team
send greeting email to customer "abc"

LLM:

Email sent with template successfully!

SMTP:

From: test@test.com
Subject: Welcome to our service!
Content-Type: text/plain; charset=utf-8
To: abc@abc.com
Content-Transfer-Encoding: 7bit
Date: Sun, 18 May 2025 12:28:52 +0000
X-Peer: ('127.0.0.1', 58333)

Hello abc,

Welcome to our service! We are excited to have you as a new customer.

Best regards,
The Team

Local Run for Testing

This section describes how to run the MCP server locally for testing purposes.

Prerequisites:

  • python module aiosmtpd as the SMTP server
  • visual studio code with github copilot as the LLM chat interface and the MCP client

Follow the steps:

  1. Run the SMTP server.
    python -m aiosmtpd -n -l 127.0.0.1:2525
    
  2. Follow this guide to set up the MCP agent in your VSCode.
  3. Start the MCP agent by clicking the "start" button in the file mcp.json in VSCode.
  4. Run the MCP server:
    cargo run
    

Finally, try typing the prompt in the chat interface, e.g. "send an email to you@domain.com with subject 'test' and body 'hello world'".

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About Rmcp Mailer

How do I install Rmcp Mailer?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Rmcp Mailer safe to use with an AI agent?

Its trust score is 34 out of 100 (low). It passes 1 of the 1 static security checks run so far. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Rmcp Mailer still maintained?

Conduid hasn't recorded a commit date for this repository yet. Check the repository directly for recent activity.