About Dearagent
Dearagent is an MCP server published by panda-sandeep in the RAG category: email inbox API for AI agents, self-hosted on Cloudflare Workers. Open source, with an MCP server. AgentMail alternative. Conduid read 15 tools from its source: create_inbox, create_webhook, forward_message, get_attachment, get_latest_message, get_message and 9 more. No package is published for it, so it installs from a source checkout.
The repository has 61 stars and 8 forks, and its last commit was on 5 Oct 2026. Conduid has no tagged release on record for it. Its topics include agentmail, cloudflare, cloudflare-workers, d1, email-api and emailrouting.
Install
git clone https://github.com/panda-sandeep/dearagentTools (15)
create_inboxCreate an inbox (email address) that this agent can receive mail at. Omit all fields to get a random address at ${config.domains[0]}. Mail sent to any address at a configured domain is accepted even without creating an inbox first (when ALLOW_UNKNOWN_INBOX is true).create_webhookRegister a URL to be POSTed when mail arrives (message.received) or is sent (message.sent). Omit inbox_id for a global webhook. The returned secret signs payloads (see README).forward_messageForward a message (with its attachments) to new recipients.get_attachmentDownload one attachment from a message. Text-like attachments (text/*, JSON, XML, CSV) are returned as `text`; everything else as `content_base64`. Set `encoding` to "base64" to force raw bytes. Attachments larger than max_bytes (default 4 MB) are refused; use the REST attachment URL for those.get_latest_messageReturn the newest message in an inbox (optionally only if newer than `since`), with full body. Returns null when there is none.get_messageGet one message with full text/html bodies and attachment metadata.get_threadGet a thread with all of its messages (full bodies), oldest first.list_inboxesList email inboxes on this server (newest first).list_messagesList messages in an inbox, newest first. Returns snippets; use get_message for full bodies.list_threadsList conversation threads in an inbox, most recent activity first.list_webhooksList webhooks (global and per-inbox).reply_to_messageReply to a message in the same thread (sets In-Reply-To/References). The original is quoted below your text unless quote_original is false. reply_all also copies the other original recipients.search_messagesFull-text search over subject, body and sender within an inbox.send_messageSend a new email from an inbox (starts a new thread). Requires Email Sending to be enabled for the inbox domain.wait_for_messageBlock up to timeout_seconds (max 25) waiting for a message newer than `since` (defaults to now). Use this instead of polling after triggering an email, e.g. a verification code. Returns { message, timed_out }.Security checks
6 checks have not been run yet.