nicemails runs a remote MCP server. Once connected, an AI agent can list your mailboxes, read and search mail, organize messages, create mailboxes and, with your approval, send mail. It gets only the permissions and mailboxes you choose.
https://nicemails.net/mcpOther MCP clients that support OAuth sign-in for remote servers connect the same way: add the address, sign in and approve. You never copy a key.
For clients without OAuth sign-in and for programs that run unattended. In nicemails, open Settings → API keys and select Create API key. Choose AI agent (MCP) as the key purpose, pick its permissions and mailbox, and copy the key. It is shown only once.
Send the key as an HTTP header on every request:
Authorization: Bearer <YOUR_API_KEY>Most MCP clients accept a configuration like this. Replace the placeholder with your key and keep the key private.
{
"mcpServers": {
"nicemails": {
"type": "http",
"url": "https://nicemails.net/mcp",
"headers": {
"Authorization": "Bearer <YOUR_API_KEY>"
}
}
}
}You choose permissions on the approval page or when you create a key. A connection can also be limited to one mailbox; every permission then applies only to that mailbox.
Read-only tools never change your mail. Tools that change data are marked so your client can ask you before each call.
| Tool | Access | What it does |
|---|---|---|
list_mailboxesList mailboxes | Read-only | Lists the mailboxes the connection can use, with their storage usage. |
create_mailboxCreate mailbox | Changes data | Creates a new, independent mailbox within your plan's limits. |
list_messagesList messages | Read-only | Lists the messages in one folder of a mailbox, newest first. |
searchSearch messages | Read-only | Searches every folder of the selected mailboxes. |
get_messageRead message | Read-only | Reads one message with its body, attachment details and delivery status, without marking it as read. |
send_messageSend message | Changes data | Queues an email from one of your mailboxes. New recipients need your approval first. |
moveMove message | Changes data | Moves a message to another folder in the same mailbox. |
flagSet message flags | Changes data | Marks a message as read or unread, starred or answered. |