Skip to main content
Glama
catwithlover

packet-pigeon

by catwithlover

Packet Pigeon — Email capabilities for AI agents — receive, read, reply, and send through MCP.

How it works

Sender ─▶ Email Routing ─▶ Worker email() ─▶ R2 raw.eml
                                              ─▶ Queue ─▶ Worker queue() ─▶ R2 parsed output
  • email() streams message.raw straight to R2 with FixedLengthStream(message.rawSize), tagging it with emailId (UUIDv7), envelope from/to, and receipt timestamp. Nothing is parsed on the hot path.

  • R2 object-creation notifications are forwarded to the packet-pigeon-email-parse queue.

  • queue() re-reads the .eml from R2, parses it with postal-mime, and writes the extracted HTML body and attachments back to R2.

Related MCP server: InboxAPI CLI

Storage layout

emails/
└── {emailId}/
    ├── raw.eml
    ├── body.html                  # only when the message has an HTML part
    └── attachments/
        └── {ordinal}/{filename}

raw.eml carries emailId, envelopeFrom, envelopeTo, and workerReceivedAt as R2 custom metadata. Attachment filenames are sanitized (/ \ : * ? " < > | and control chars become _); a missing filename falls back to untitled.

Deployment & configuration

Required: an R2 bucket (packet-pigeon), a queue (packet-pigeon-email-parse) wired to R2 event notifications, and an Email Routing address pointing at the Worker (e.g. ai@agent.asyncat.app).

npm install
npm run deploy

Development

Requirements: Node.js 22+ and a logged-in Wrangler CLI.

npm install
npm run dev

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

No tool schema history has been recorded yet.

Maintenance

ActivityMaintained
ResponsivenessNo issues

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    B
    maintenance
    Provides an AI agent with its own email address to send, receive, and manage emails via MCP. No email server setup required.
    33
    12
    MIT
  • F
    license
    Not graded
    quality
    C
    maintenance
    Give AI agents their own email inboxes. Create, send, receive, and manage email entirely via MCP tools.
    -
  • A
    license
    Not graded
    quality
    B
    maintenance
    Connects any IMAP/SMTP mailbox to AI agents via MCP, enabling email read, search, send, reply, and management through natural language.
    28
    MIT

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/catwithlover/packet-pigeon'

If you have feedback or need assistance with the MCP directory API, please join our Discord server