MCP HubMCP Hub
resend

mcp-send-email

by: resend

Send emails directly from Cursor with this email sending MCP server

303created 24/02/2025
Visit
email
Cursor

📌Overview

Purpose: This framework aims to simplify the process of sending emails by integrating with Resend's API, allowing users to send emails generated by Cursor or Claude Desktop without manual copying and pasting.

Overview: This email-sending MCP server utilizes Resend's services to enable users to send both plain text and HTML emails seamlessly, enhancing productivity by integrating directly with popular tools like Cursor and Claude Desktop.

Key Features:

  • Send Plain Text and HTML Emails: Allows users to send formatted emails easily, catering to different content requirements.

  • Schedule Emails for Future Delivery: Users can set up emails to be sent at a preferred time, ensuring timely communication.

  • Add CC and BCC Recipients: This feature helps in managing extended email communication without disclosing recipient addresses to each other.

  • Configure Reply-to Addresses: Customization of reply-to settings enhances usability by directing responses to the desired email.

  • Customizable Sender Email (Requires Verification): Users can send emails from their verified email addresses, providing a professional touch to communications.


Email Sending MCP 💌

This is a simple MCP server that sends emails using Resend's API, allowing you to let Cursor or Claude Desktop compose and send emails without manual copy-pasting.

Built With

Features

  • Send plain text and HTML emails
  • Schedule emails for future delivery
  • Add CC and BCC recipients
  • Configure reply-to addresses
  • Customizable sender email (requires verification)

Setup Instructions

For Cursor

  1. Authorize Resend to send emails from your domain. Follow the steps here to get a Resend API key.

  2. Clone this project locally.

  3. Edit index.ts and replace me@yoko.dev with your own email.

  4. Run the following commands in the project directory:

    npm install
    npm run build
    

    This generates the MCP server script at /build/index.js.

  5. Go to Cursor Settings → MCP → Add new MCP server:

    • Name: [choose your own name]
    • Type: command
    • Command:
      node ABSOLUTE_PATH_TO_MCP_SERVER/build/index.js --key=YOUR_RESEND_API_KEY --sender=OPTIONAL_SENDER_EMAIL_ADDRESS --reply-to=OPTIONAL_REPLY_TO_EMAIL_ADDRESS_ONE --reply-to=OPTIONAL_REPLY_TO_EMAIL_ADDRESS_TWO
      

Testing Email Sending

To test sending emails, go to email.md, replace the to: email address, select all, and hit cmd+l. You can then tell Cursor to "send this as an email" in the chat (ensure Cursor chat is in Agent mode).

For Claude Desktop

Use the same setup as above, then add the following MCP config:

{
  "mcpServers": {
    "resend": {
      "command": "node",
      "args": ["ABSOLUTE_PATH_TO_MCP_SERVER/build/index.js"],
      "env": {
        "RESEND_API_KEY": "[YOUR_API_KEY]",
        "SENDER_EMAIL_ADDRESS": "[OPTIONAL_SENDER_EMAIL_ADDRESS]",
        "REPLY_TO_EMAIL_ADDRESSES": "[OPTIONAL_REPLY_TO_EMAIL_ADDRESSES_COMMA_DELIMITED]"
      }
    }
  }
}

Development

To develop further, run:

npm install
npm run build