
Research
/Security News
9 Malicious NuGet Packages Deliver Time-Delayed Destructive Payloads
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.
@skanda-yutori/mcp-send-email
Advanced tools
A Model Context Protocol (MCP) server for sending emails using the Resend API. This package can be used as an MCP server or as a standalone CLI tool.
npx @your-username/mcp-send-email --key YOUR_RESEND_API_KEY
npm install -g @your-username/mcp-send-email
mcp-send-email --key YOUR_RESEND_API_KEY
npm install @your-username/mcp-send-email
You can configure the server using environment variables:
RESEND_API_KEY: Your Resend API key (required)SENDER_EMAIL_ADDRESS: Default sender email address (optional)REPLY_TO_EMAIL_ADDRESSES: Comma-separated list of reply-to email addresses (optional)--key: Resend API key--sender: Default sender email address--reply-to: Reply-to email address(es)The server runs on stdio and can be integrated with MCP clients:
npx @your-username/mcp-send-email --key YOUR_API_KEY
Add this to your MCP client configuration:
{
"mcpServers": {
"email": {
"command": "npx",
"args": ["@your-username/mcp-send-email", "--key", "YOUR_API_KEY"]
}
}
}
The server provides a send-email tool with the following parameters:
to (required): Recipient email addresssubject (required): Email subject linetext (required): Plain text email contenthtml (optional): HTML email contentfrom (optional): Sender email address (if not configured globally)replyTo (optional): Reply-to email addressescc (optional): CC email addressesbcc (optional): BCC email addressesscheduledAt (optional): Schedule email using natural language (e.g., "tomorrow at 10am")// Using the MCP tool
await sendEmail({
to: "recipient@example.com",
subject: "Hello from MCP",
text: "This is a test email sent via MCP server."
});
await sendEmail({
to: "recipient@example.com",
subject: "HTML Email",
text: "Plain text fallback",
html: "<h1>Hello!</h1><p>This is an HTML email.</p>",
scheduledAt: "tomorrow at 9am PST"
});
git clone https://github.com/your-username/mcp-send-email.git
cd mcp-send-email
npm install
npm run build
npm install
npm run build
node build/index.js --key YOUR_API_KEY
package.jsonCHANGELOG.mdnpm run buildnpm publishMIT License - see LICENSE file for details.
This is a simple MCP server that sends emails using Resend's API. Why? Now you can let Cursor or Claude Desktop compose emails for you and send it right away without having to copy and paste the email content.
As an example, you could use this to run local scripts, chat with Claude, or process data and send the results to yourself or your team.
Built with:
https://github.com/user-attachments/assets/8c05cbf0-1664-4b3b-afb1-663b46af3464
Currently, you must build the project locally to use this MCP server. Then add the server in Cursor or Claude Desktop to use it in any Cursor or Claude Desktop chat.
git clone https://github.com/resend/mcp-send-email.git
npm install
npm run build
Create a free Resend account and Create an API Key. To send to other addresses, you'll also need to verify your own domain.
[!NOTE] For more info on how to send emails with Resend, see the docs.
Open the command palette (cmd+shift+p on macOS or ctrl+shift+p on Windows) and choose "Cursor Settings".
Select "MCP" from the left sidebar and click "Add new global MCP server".
Add the following config:
{
"mcpServers": {
"resend": {
"type": "command",
"command": "node ABSOLUTE_PATH_TO_MCP_SEND_EMAIL_PROJECT/build/index.js --key=YOUR_RESEND_API_KEY"
}
}
}
You can get the absolute path to your build script by right-clicking on the /build/index.js file in Cursor and selecting Copy Path.
Possible arguments
--key: Your Resend API key (required)--sender: Your sender email address from a verified domain (optional)--reply-to: Your reply-to email address (optional)[!NOTE] If you don't provide a sender email address, the MCP server will ask you to provide one each time you call the tool.
Now you can test out sending emails by going to email.md.
email.md, and press cmd+lOpen Claude Desktop settings and navigate to the "Developer" tab. Click Edit Config.
Add the following config:
{
"mcpServers": {
"resend": {
"command": "node",
"args": [
"ABSOLUTE_PATH_TO_MCP_SEND_EMAIL_PROJECT/build/index.js"
],
"env": {
"RESEND_API_KEY": "YOUR_RESEND_API_KEY",
}
}
}
}
You can get the absolute path to your build script by right-clicking on the /build/index.js file in your IDE and selecting Copy Path.
Possible environment variables
RESEND_API_KEY: Your Resend API key (required)SENDER_EMAIL_ADDRESS: Your sender email address from a verified domain (optional)REPLY_TO_EMAIL_ADDRESS: Your reply-to email address (optional)[!NOTE] If you don't provide a sender email address, the MCP server will ask you to provide one each time you call the tool.
Close and reopen Claude Desktop. Verify that the resend tool is available in the Claude developer settings.
Chat with Claude and tell it to send you an email using the resend tool.
FAQs
MCP server for sending emails via Resend API
The npm package @skanda-yutori/mcp-send-email receives a total of 3,657 weekly downloads. As such, @skanda-yutori/mcp-send-email popularity was classified as popular.
We found that @skanda-yutori/mcp-send-email demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.