# Email Mcp Server

> Model Context Protocol Server with IMAP and SMTP connectivity

- **Type:** MCP server
- **Install:** `agentstack add mcp-gabigabogabu-email-mcp-server`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [gabigabogabu](https://agentstack.voostack.com/s/gabigabogabu)
- **Installs:** 0
- **Category:** [AI & ML](https://agentstack.voostack.com/c/ai-and-ml)
- **Latest version:** 0.1.0
- **License:** ISC
- **Upstream author:** [gabigabogabu](https://github.com/gabigabogabu)
- **Source:** https://github.com/gabigabogabu/email-mcp-server

## Install

```sh
agentstack add mcp-gabigabogabu-email-mcp-server
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Email MCP Server

A Model Context Protocol (MCP) server for email integration using IMAP and SMTP protocols. This server allows model assistants to access and interact with email accounts.

## Features

- Read emails from IMAP mailboxes
- Send emails via SMTP
- Search emails
- List email folders

## Prerequisites

- Node.js (v16 or higher)
- npm or yarn
- Email account with IMAP and SMTP access

## Setup

1. Clone the repository:
   ```
   git clone 
   cd imap-mcp
   ```

2. Install dependencies:
   ```
   npm install
   ```

3. Create a `.env` file in the root directory with the following variables:
   ```
   EMAIL_USER=your-email@example.com
   EMAIL_PASSWORD=your-password
   IMAP_HOST=imap.example.com
   IMAP_PORT=993
   SMTP_HOST=smtp.example.com
   SMTP_PORT=465
   ```

## Usage

### Development

To run the server in development mode:

```
npm run dev
```

This will watch for changes, recompile TypeScript, and restart the server automatically.

### Production

To build and run the server in production mode:

```
npm run build
npm start
```

## API

The server exposes the following MCP resources:

- `mailto:/inbox` - List of 10 most recent emails in the inbox
- `mailto:/folders` - List of email folders/mailboxes

And the following MCP tools:

- `send_email` - Send an email message
- `search_emails` - Search for emails with advanced query options
- `list_folders` - List all available email folders/mailboxes

## License

ISC License - see [LICENSE](LICENSE) for details

## Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [gabigabogabu](https://github.com/gabigabogabu)
- **Source:** [gabigabogabu/email-mcp-server](https://github.com/gabigabogabu/email-mcp-server)
- **License:** ISC

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** yes
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/mcp-gabigabogabu-email-mcp-server
- Seller: https://agentstack.voostack.com/s/gabigabogabu
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
