# OpenMail MCP server

> Allows AI agents to read and send emails via IMAP and SMTP through a secure HTTPS MCP endpoint.

- Repository: https://github.com/webumer/openmail
- Page: https://hostedmcp.org/servers/webumer/openmail
- Transport: —
- Stars: 1
- License: MIT

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `OPENMAIL_ACCT_WORK_PASSWORD` | no | no |  |
| `OPENMAIL_API_KEYS` | no | no |  |
| `OPENMAIL_MASTER_KEY` | no | no |  |
| `OPENMAIL_MODE` | no | no |  |

## FAQ

### Does OpenMail mark emails as read?

No, read tools use the EXAMINE mode and BODY.PEEK command so that reading an email does not set the \Seen flag.

### How can I connect my AI agent to OpenMail?

You can connect using OAuth 2.1 for clients like Claude and ChatGPT, or by using an API key for clients like Grok Bot.

### Can the server send emails?

Yes, sending is possible via SMTP, but it must be explicitly enabled for the specific mailbox and requires user confirmation.
