Skip to main content
Glama
Selo
by Falcao-SL

Selo

O Selo é o Mail da Apple, deste Mac, para um agente de código.

Ele fala com o aplicativo Mail que já está aberto na máquina, pelas contas que já estão configuradas lá. Não pede senha, não abre IMAP e não tem servidor na rede. O processo fica no Mac e conversa com o agente pelo protocolo MCP, em stdio.

Ele faz a caixa de correio: listar, buscar, ler, baixar anexo, criar e-mail, anexar arquivo, responder, responder a todos, encaminhar, enviar, marcar, mover, arquivar, excluir e descadastrar de uma lista. Também aponta sinais de uma mensagem suspeita.

Enviar, responder, encaminhar, excluir e descadastrar acontecem de verdade. Excluir move para a Lixeira do Mail, de onde dá para recuperar. A checagem de suspeita é uma heurística local, não um antivírus.

Licença MIT. Código aberto. Só macOS.

A conversa com o Mail usa JavaScript for Automation, no mesmo caminho do NotchForge. O Selo é outro programa: sem entalhe e sem plugin.

Como usar

O guia completo está em docs/USO.md. English: docs/USE.md.

Resumo, para o Cursor, o Claude Code ou o Claude Desktop:

{
  "mcpServers": {
    "selo": {
      "command": "node",
      "args": ["/CAMINHO/Selo/src/index.js"]
    }
  }
}

Na primeira chamada, o macOS pede permissão de Automação para o Mail. Confira com npm run doctor.

Related MCP server: Apple Mail

Ferramentas

Ferramenta

O que faz

Ler

list_accounts

Contas do Mail

Ler

list_mailboxes

Caixas e não lidas

Ler

unread_summary

Resumo do que está parado

Ler

list_messages

Mensagens de uma caixa

Ler

search_messages

Busca por assunto, remetente ou corpo

Ler

read_message

Abre uma mensagem

Ler

list_attachments

Anexos, sem baixar

Ler

save_attachment

Baixa um anexo para ~/Downloads/Selo

Ler

check_message

Sinais de mensagem suspeita

Escrever

create_draft

Abre um rascunho. Não envia

Escrever

send_message

Cria e envia

Escrever

reply_message

Responde ao remetente e envia

Escrever

reply_all

Responde a todos e envia

Escrever

forward_message

Encaminha e envia

Caixa

mark_message

Lida, não lida, sinalizada

Caixa

move_message

Move para outra caixa

Caixa

archive_message

Move para Archive ou Arquivo

Caixa

trash_message

Exclui: vai para a Lixeira

Caixa

trash_messages

Exclui várias

Caixa

create_mailbox

Cria uma caixa

Lista

unsubscribe

Descadastro One-Click ou mailto

Programa, instalador e script não são baixados. O descadastro usa o cabeçalho List-Unsubscribe da lista. O Selo não abre um link solto no corpo da mensagem.

O que fica de fora

Não apaga para sempre: a Lixeira do Mail continua com a mensagem. Não é antivírus. Não mexe no Mail do iPhone direto, só no Mail deste Mac. Não guarda senha em arquivo.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    • Email infrastructure for AI agents — send, receive, search, and reply to email over MCP.

      https://www.primitive.dev/mcp
    • Email inboxes for AI agents: send, receive, reply, search, and manage threaded email over MCP.

      https://mcp.agentmail.to/mcp
    • Your agent needs a mailbox of its own — to receive, thread, draft and send, with attachments, without borrowing your personal inbox or your company's SMTP. **What you can ask for** • "Create an inbox for this agent and tell me its address." • "Read the new messages in this thread and draft a reply." • "Send this message with the attachment and wait for the response." • "Search this inbox for everything from that domain." • "Show delivery metrics and the events on this inbox." **How to use it** Point any MCP client at https://mcp.aisa.one/mail/mcp and sign in with OAuth — there is no key to create or paste. 49 tools: create and delete inboxes, list and read messages, raw message bodies, attachments, threads, drafts and draft attachments, send and reply, message search, inbox events, metrics, and list entries — reads and writes. **Why this rather than the source** A real inbox an agent owns, rather than an SMTP credential it borrows from a human. **It is also a door to the rest** The same login reaches 26 sources and 580+ operations. Find the contact elsewhere in the catalogue, then write to them from here — without adding a second server. **What it costs** Finding and inspecting an operation is free. Running one is billed per call at API prices, with no seat and no monthly minimum, and every call takes max_price_usd so an agent cannot overspend by accident. **Where else it reaches** https://mcp.aisa.one/sales/mcp finds the person to write to.

    • Your IMAP mailbox as an MCP server: read, search and (if you allow it) organize mail. Open source.

      https://mcp4mail.online/mcp

    Related MCP Servers

    • A
      license
      A
      quality
      C
      maintenance
      MCP server that gives Claude and other MCP hosts full access to Mail.app on macOS — search, read, send, reply, flag, move, and more across all accounts configured in Mail.app.
      24
      115 npm
      1
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      This MCP server bridges AI agents with Apple Mail on macOS, enabling email operations like reading, sending, drafting, searching, and scheduling through natural language, with added features like stable draft IDs and confirmation-gated sending.
      61
      25 npm
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables MCP clients to search, read, and inspect Apple Mail on macOS, including conversations and attachments. It can create new, reply, reply-all, or forward drafts, but cannot send or modify existing messages.
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables local AI agents to search and read iCloud Mail, draft and send reviewed replies, and manage calendar events via a local MCP connection.
      19
      1
      MIT