1. Conduid
  2. Communication
  3. Agenticmail
MCP server · Communication

Agenticmail

Email, SMS & phone-call infrastructure for AI agents — send and receive real email and text messages, and place agent-driven outbound voice calls, all programmatically

70Good

Scored 22 hours ago · breakdown

About Agenticmail

Agenticmail is an MCP server published by agenticmail in the Communication category: email, SMS & phone-call infrastructure for AI agents — send and receive real email and text messages, and place agent-driven outbound voice calls, all programmatically. Conduid read 112 tools from its source: ask_operator, batch_delete, batch_mark_read, batch_mark_unread, batch_move, batch_read and 106 more. No package is published for it, so it installs from a source checkout.

The repository has 261 stars and 39 forks, is licensed MIT, and its last commit was on 26 Nov 2026. The latest release is agenticmail-cli-v0.9.110 (13 Nov 2026): Security release Upgrade now: npm install -g @agenticmail/cli@latest | Package | Version | |---|---| | @agenticmail/cli | 0.9.110 | | @agenticmail/api | 0.9.65 | | @agen… It follows agenticmail-cli-v0.9.104 (5 Jun 2026), and the 5 most recent releases go back to v0.9.101 (29 May 2026). It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass No dynamic code execution and Scoped permissions. Its topics include agenticmail, comms, email, google-voice, agent-sms and agent-email.

Install

From source
git clone https://github.com/agenticmail/agenticmail

Tools (112)

ask_operatorAsk your human operator a question when you need information, a decision, or approval that you do not already have. Your operator may take a few minutes to reply. Before you call this, tell the caller you need a moment to check. USE THIS — DO NOT SAY "I DON'T KNOW" — whenever the other party asks you to verify identity on the operator's behalf: date of birth, account number, last-4 of SSN, mother's maiden name, billing-address ZIP, security-question answer, member ID, policy number, etc. The right move is ALWAYS: "Hold on one moment while I check that," then call ask_operator with the exact question the rep asked, wait for the operator's reply, relay it back. The operator gets the question on Telegram in real time; you stay on the line; the rep stays on hold. Telling the rep "I don't know, I'll have to call back" wastes everyone's time when ask_operator would have closed the loop in 30–60 seconds.
ParameterTypeDescription
call_contextstringOne short line on what this call is about, so your operator has context.
question *stringThe exact question to put to your operator.
urgencystringHow urgent the answer is. Defaults to normal.
batch_deleteDelete multiple emails by UIDs
ParameterTypeDescription
folderstringFolder (default: INBOX)
uids *arrayArray of UIDs to delete
batch_mark_readMark multiple emails as read
ParameterTypeDescription
folderstringFolder (default: INBOX)
uids *arrayArray of UIDs to mark as read
batch_mark_unreadMark multiple emails as unread
ParameterTypeDescription
folderstringFolder (default: INBOX)
uids *arrayArray of UIDs to mark as unread
batch_moveMove multiple emails to another folder
ParameterTypeDescription
fromstringSource folder (default: INBOX)
to *stringDestination folder (e.g., Trash, Archive)
uids *arrayArray of UIDs to move
batch_readRead multiple emails at once by UIDs. Returns full parsed content for each message in a single call.
ParameterTypeDescription
folderstringFolder (default: INBOX)
uids *arrayArray of UIDs to read
broadcast_emailSend the SAME email to N agents as N SEPARATE, ISOLATED emails — no CC, no shared thread. Each recipient sees ONLY their own address on the `To:` line and reads the message as a private 1:1 from you. Use this when you need to fan-out an announcement, hand the same task to several workers in parallel, or poll multiple agents for independent answers without letting them see each other's replies. **Not** a replacement for `send_email` + CC — use CC when the team should see each other and collaborate in one thread; use `broadcast_email` when the conversations are independent. Each per-recipient email gets its own Message-ID and thread, so replies come back to you privately (and `wait_for_email` can filter on `from:` to demultiplex). WAKE SEMANTICS: by default every local @localhost recipient gets a wake (since each is the sole `To:` of its own delivery). Pass `wake: []` to fan-out silently (no wakes), or `wake: ["alice","bob"]` to wake only specific recipients while still delivering to all. Outbound guard scans every per-recipient send individually; if ANY send is blocked, the response reports per-recipient status so you know what got through.
ParameterTypeDescription
attachmentsarrayFile attachments. Same set is attached to every per-recipient delivery.
htmlstringHTML body shared by every per-recipient delivery (optional).
subject *stringSubject line shared by every per-recipient delivery.
textstringPlain text body shared by every per-recipient delivery.
to *arrayList of recipient addresses. Accepts an array of strings (preferred) or a single comma-separated string. Each address gets its OWN email — there is no CC, no shared thread, no way for recipients to see each other.
wakeanyOptional wake-control. Accepts: (1) an array of agent names — `["alice","bob"]` — to wake exactly those recipients (others still receive the mail but stay asleep); (2) the string `"all"` to wake every recipient (this is the default for broadcasts); (3) an empty array `[]` to deliver to everyone silently with no wakes; (4) omit entirely to use the default (wake every local recipient).
call_agentSynchronous RPC to delegate work to another AgenticMail agent. Pipeline: the task is queued in AgenticMail, the target agent processes it AS THEMSELVES (under their real identity, mailbox, persona, and audit trail), and the structured result returns into your call. THIS IS HOW MULTI-AGENT COORDINATION IS SUPPOSED TO WORK from any MCP host. Do not, instead, spawn one of your host's native sub-agents and tell it to "act as <target>" — that produces output under your identity, never touches the target's inbox, and skips their persona. Pass outputSchema to require a structured deliverable shape: the API validates the worker's submit_result against the schema and rejects mismatches with validator errors, so the worker can retry with a correct shape rather than returning free-form prose. Times out after the specified duration (default 180s, max 300s).
ParameterTypeDescription
outputSchemaobjectOptional JSON Schema (draft-7 subset: type, required, properties, items, enum, additionalProperties, minLength/maxLength, minimum/maximum) describing the shape submit_result must conform to. The worker sees the schema in the wake prompt and the API validates on submission.
payloadobjectAdditional data
target *stringName of the agent to call
task *stringTask description
timeoutnumberMax seconds to wait (default: 180, max: 300)
call_answer_queryInject an answer to a pending ask_operator query on a live phone call. The voice agent's next poll picks it up within ~3 seconds and relays the answer verbatim to the other party on the line. Use when the operator has provided info the call needs (DOB / account # / address / yes-or-no decision) — this beats redialing by a factor of 30× in wall-clock time and preserves the original call's context. If the mission was already terminated and the query auto-closed, this returns alreadyAnswered=true and is a no-op. When the call had already dropped, the answer arms a callback-on-disconnect that the scheduler dials a few seconds later with the answer baked into the continuation task.
ParameterTypeDescription
answer *stringThe literal answer to relay back to the call (e.g. "11/26/1998", "Yes go ahead", "Approved up to $200"). The voice agent reads this verbatim to the other party.
mission_id *stringPhone mission id (oq_ ids are bound to one mission; you can get this from call_open_queries).
query_id *stringOperator-query id, e.g. "oq_abc-123…". From call_open_queries.
call_cancelCancel a tracked phone mission in AgenticMail. Provider-side hangup is not guaranteed in this call-control slice.
ParameterTypeDescription
id *stringPhone mission id
call_open_queriesList PENDING ask_operator queries on a phone mission (or all of an agent's missions when id is omitted). Use this BEFORE assuming a verification-style message from the operator is a fresh chat question — if there's an open query, the operator is most likely answering it. Pair with call_answer_query to inject the answer.
ParameterTypeDescription
idstringPhone mission id. Omit to scan all of your agent's missions for open queries.
call_phone
ParameterTypeDescription
dryRunbooleanWhen true, store the mission without calling the provider
policy *objectPhone mission policy — see tool description for the minimal valid shape. All fields required.
task *stringConcrete call objective, e.g. "reserve a table for two at 19:30"
to *stringTarget phone number in E.164 format (e.g. +15555550100)
voiceRuntimeRefstringOptional external voice runtime/session reference for future realtime integration
call_statusGet one phone mission by id, or list recent phone missions when id is omitted.
ParameterTypeDescription
idstringPhone mission id
limitnumberMax missions when listing (default: 20, max: 100)
offsetnumberSkip missions when listing
statusstringOptional status filter when listing missions
call_transcriptRead the transcript entries recorded for a phone mission.
ParameterTypeDescription
id *stringPhone mission id
check_activityCheck which agents are currently being woken by the dispatcher. Use this when you sent mail to a teammate and want to know if they have actually started working, or to audit the live multi-agent state. Returns active workers with the agent name, what triggered the wake (mail UID + subject, or task id), how long they have been running, the most recent tool they invoked, how many tool calls they have made, a `stale` flag (true if the dispatcher has not heartbeated in 90s+), and a preview of recently-finished work. Workers may run for hours — there is no auto-eviction; staleness is just a hint. Requires master key.
ParameterTypeDescription
agentstringFilter to a specific agent by name (case-insensitive). Omit to see every active and recently-finished worker.
includeRecentbooleanInclude workers that finished in the last ~2 minutes (default: true). Set false to see only currently-running workers.
check_gateway_statusCheck the current email gateway status — relay mode, domain mode, or not configured
check_healthCheck 🎀 AgenticMail server health status
check_messagesCheck for new unread messages from other agents or external senders. Returns a summary of pending communications. Use this to stay aware of requests and coordinate with other agents.
check_tasksCheck for pending tasks assigned to you (or a specific agent) or tasks you assigned to others
ParameterTypeDescription
assigneestringCheck tasks for a specific agent by name (only for incoming direction)
directionstringincoming (assigned to me) or outgoing (I assigned)
claim_taskClaim a pending task assigned to you
ParameterTypeDescription
id *stringTask ID to claim
cleanup_agentsList or remove inactive non-persistent agent accounts (requires master API key)
ParameterTypeDescription
action *stringAction to perform
agentIdstringAgent ID (for set_persistent)
dryRunbooleanPreview without deleting (for cleanup)
hoursnumberInactivity threshold in hours (default: 24)
persistentbooleanSet persistent flag (for set_persistent)
create_accountCreate a new AgenticMail agent (email account + identity + API key + persona derived from role/metadata). Requires master API key. After creation: address them at `<name>@localhost`, delegate work via `call_agent({ target: "<name>", task: ... })`, or hand off via `send_email` / `message_agent`. The new agent acts as themselves — you never need to (and must not) roleplay them inside your host's native sub-agent tool.
ParameterTypeDescription
domainstringEmail domain (default: localhost)
name *stringAgent name (will be used as email local part)
rolestringAgent role (default: secretary)
create_folderCreate a new mail folder for organizing emails
ParameterTypeDescription
name *stringFolder name (e.g., Projects, Clients, Newsletters)
delete_agentDelete an agent account. Archives all emails and generates a deletion report before removing the account permanently. Returns the deletion summary. Requires master API key.
ParameterTypeDescription
name *stringName of the agent to delete
reasonstringReason for deletion (optional)
delete_emailDelete an email by its UID
ParameterTypeDescription
uid *numberThe UID of the email to delete
deletion_reportsList past agent deletion reports or retrieve a specific report by ID. Shows archived email summaries from deleted agents. Requires master API key.
ParameterTypeDescription
idstringDeletion report ID (omit to list all reports)
end_callHang up the call. You MUST call this AFTER you have said goodbye and the conversation is complete — saying "I'll hang up now" is not enough on its own, the call stays open until you actually call this tool. Use it when: the task is done and you have signed off, the caller has indicated the conversation is over, you have scheduled a callback and said goodbye, or the caller has stopped responding for an extended period. Once called the call drops immediately; you cannot un-hang-up.
ParameterTypeDescription
reasonstringOne short line for the audit trail — e.g. "task complete", "caller said bye", "scheduled callback, signing off". Optional but recommended.
extend_call_timeRequest more time on this call. Auto-approved within your call's extension policy — you do not need to ask the operator. Use this BEFORE your time runs out. If the grant is partial or refused the response tells you exactly what you have left; do not retry-loop.
ParameterTypeDescription
reasonstringOne short line on why — kept on the mission transcript for review.
seconds *numberHow many MORE seconds you need. Positive integer. The server caps each grant.
forward_emailForward an email to another recipient. Outbound guard applies — HIGH severity content is held for review. Pass `wake` to limit which local recipients get a host turn from the dispatcher when this forward lands.
ParameterTypeDescription
textstringAdditional message (optional)
to *stringRecipient to forward to
uid *numberUID of the email to forward
wakearrayOptional. Names of the agents who should get a host turn when the forward lands. Pass `[]` to deliver silently. Omit to wake everyone CC'd.
get_call_statusCheck how much time you have left on this call and whether you can request more time or schedule a callback. Use this whenever you are unsure if there is room to keep going. Returns: secondsRemaining, soft deadline timestamp, extensions used/remaining/availableSeconds, callbackAvailable.
get_datetimeGet the current date and time. Use this whenever the caller refers to a relative time like "tomorrow", "tonight", or "next Tuesday" so you can resolve it to a real date.
ParameterTypeDescription
timezonestringOptional IANA timezone (e.g. "Europe/Vienna"). Defaults to UTC.
get_thread_idResolve the stable thread id for a message UID. Use this BEFORE calling save_thread_memory or when you want to inspect the cache for a thread. Pass the UID of any message on the thread (root or reply) — the API normalises the subject, resolves the canonical root sender, and returns the same id every time. `folder` defaults to INBOX.
ParameterTypeDescription
folderstringIMAP folder where the UID lives. Defaults to INBOX.
uid *numberMessage UID.
import_relay_emailImport an email from the connected Gmail/Outlook account into the agent's local inbox. This downloads the full message with all headers (Message-ID, In-Reply-To, References) so you can continue the thread using reply_email. Use search_emails with searchRelay=true first to find the relay UID.
ParameterTypeDescription
uid *numberThe relay UID of the email to import (from search_emails relay results)
inbox_digestGet a compact inbox digest with subject, sender, date, flags and text preview for each message. More efficient than listing then reading individually.
ParameterTypeDescription
folderstringFolder (default: INBOX)
limitnumberMax messages (default: 20, max: 50)
offsetnumberSkip messages (default: 0)
previewLengthnumberPreview text length (default: 200, max: 500)
invokeCall ANY AgenticMail tool by name with structured args — including tools not in your pre-loaded tool list. Use after `request_tools` to discover the right tool. Pass `_account` either at the top level OR inside `args`; either works. Example: invoke({ tool: "manage_signatures", args: { action: "create", name: "default", body: "—\nFola" }, _account: "Fola" }).
ParameterTypeDescription
argsobjectArguments for the target tool. Same shape you would pass if calling the tool directly.
tool *stringThe AgenticMail tool name to call (e.g. "manage_signatures", "sms_send"). See request_tools for the full catalogue.
list_agentsList all AI agents in the system with their email addresses and roles. Use this to discover which agents you can call via call_agent (sync RPC) or email via send_email / message_agent (async). DO NOT spawn one of your host's native sub-agents and roleplay AS these agents — each one is a real identity with its own mailbox; just address them through AgenticMail and let them work as themselves.
list_folderList messages in a specific folder
ParameterTypeDescription
folder *stringFolder path (e.g., INBOX, Trash, Sent)
limitnumberMax messages (default: 20)
offsetnumberSkip messages (default: 0)
list_foldersList all mail folders/mailboxes
list_inboxList recent emails in the agent's inbox
ParameterTypeDescription
limitnumberMaximum number of messages to return (default: 20)
offsetnumberNumber of messages to skip (default: 0)
load_skillLoad a skill playbook by id into your context for the rest of this call. The playbook (principles, scripted phrases, ordered tactics, hard boundaries, exit strategy) grounds your next turns. Always call search_skills first to find the right id. Before calling, say "hold on one moment" — loading is briefer than `ask_operator` but takes a beat.
ParameterTypeDescription
id *stringSkill id (lowercase-hyphenated), e.g. "negotiate-bill-reduction". Get it from search_skills.
manage_contactsList, add, or delete contacts
ParameterTypeDescription
action *stringAction to perform
emailstringContact email (for add)
idstringContact ID (for delete)
namestringContact name (for add)
manage_draftsList, create, update, send, or delete drafts. On send, you can pass `wake` to limit which local recipients get a host turn — same semantics as send_email.
ParameterTypeDescription
action *stringAction to perform
idstringDraft ID (for update/send/delete)
subjectstringSubject (for create/update)
textstringBody text (for create/update)
tostringRecipient (for create/update)
wakearrayOptional, for action=send. Names of the agents who should get a host turn when the drafted mail lands. Pass `[]` to deliver silently. Omit to wake everyone CC'd.
manage_pending_emailsCheck the status of pending outbound emails blocked by the outbound guard. You can list all your pending emails or get details of a specific one. You CANNOT approve or reject — only the owner can do that.
ParameterTypeDescription
action *stringAction to perform (list or get only — approve/reject require owner)
idstringPending email ID (required for get)
manage_rulesManage server-side email rules that auto-process incoming messages (move, tag, mark read, delete).
ParameterTypeDescription
action *stringAction to perform
actionsobjectActions on match: { move_to?, mark_read?, delete?, add_tags? }
conditionsobjectMatch conditions: { from_contains?, subject_contains?, subject_regex?, to_contains?, has_attachment? }
idstringRule ID (for delete)
namestringRule name (for create)
prioritynumberHigher priority rules match first (for create)
manage_scheduledManage scheduled emails: create a new scheduled email, list pending ones, or cancel one. Accepts flexible time formats for create: ISO 8601, relative ("in 30 minutes"), named ("tomorrow 8am"), day-based ("next monday 9am"), or human-friendly ("02-14-2026 3:30 PM EST").
ParameterTypeDescription
action *stringAction to perform (default: create)
idstringScheduled email ID (for cancel)
sendAtstringWhen to send (for create)
subjectstringEmail subject (for create)
textstringBody text (for create)
tostringRecipient email (for create)
manage_signaturesList, create, or delete email signatures
ParameterTypeDescription
action *stringAction to perform
idstringSignature ID (for delete)
isDefaultbooleanSet as default signature (for create)
namestringSignature name (for create)
textstringSignature text content (for create)
manage_spamManage spam: list spam folder, report a message as spam, mark as not-spam, or get the spam score of a message. Emails are auto-scored on arrival; high-scoring messages are moved to Spam automatically.
ParameterTypeDescription
action *stringAction to perform
folderstringSource folder (for report/score, default: INBOX)
limitnumberMax messages to list (for list, default: 20)
offsetnumberSkip messages (for list, default: 0)
uidnumberMessage UID (for report, not_spam, score)
manage_tagsCreate, list, delete tags, tag/untag messages, get messages by tag, or get all tags for a specific message.
ParameterTypeDescription
action *stringAction to perform
colorstringTag color hex code (for create, e.g. #ff0000)
folderstringFolder the message is in (default: INBOX)
idstringTag ID (for delete, tag_message, untag_message, get_messages)
namestringTag name (for create)
uidnumberMessage UID (for tag_message, untag_message)
manage_templatesList, create, or delete email templates
ParameterTypeDescription
action *stringAction to perform
idstringTemplate ID (for delete)
namestringTemplate name (for create)
subjectstringTemplate subject (for create)
textstringTemplate body text (for create)
mark_readMark an email as read
ParameterTypeDescription
uid *numberUID of the email
mark_unreadMark an email as unread
ParameterTypeDescription
uid *numberUID of the email
media_audio_editEdit audio: trim, convert format, merge files, adjust volume, change speed, extract from video, reverse, fade in/out. Requires ffmpeg.
ParameterTypeDescription
action *stringThe edit action.
durationstringDuration (trim): "10".
endstringEnd time (trim): "00:00:15".
fadeDurationnumberFade duration in seconds (fade). Default: 3.
fadeTypestringFade direction (fade).
filesarrayArray of file paths to merge (merge).
formatstringOutput format: mp3, wav, ogg, flac, aac, m4a (convert/extract).
inputstringAbsolute path to the input audio (or video for extract). Not required for merge.
speedFactornumberSpeed: 0.5 = half, 2 = double (speed).
startstringStart time (trim): "00:00:05" or "5".
volumestringVolume: "1.5" (150%), "0.5" (50%), or "10dB", "-5dB".
media_capabilitiesReport which media binaries (ffmpeg, ffprobe, ImageMagick, whisper.cpp, Python, edge-tts) are installed and available. Media tools are opt-in — call this first to see what operations are possible before attempting them.
ParameterTypeDescription
refreshbooleanRe-probe the binaries instead of using the cached result (e.g. after installing one).
media_image_editEdit an image: resize, crop, rotate, convert format, compress, overlay text, flip, blur, sharpen, grayscale. Requires ImageMagick.
ParameterTypeDescription
action *stringThe edit action to perform.
anglenumberRotation angle in degrees (rotate).
blurRadiusnumberBlur radius (blur). Default: 5.
directionstringFlip direction. Default: horizontal.
fontColorstringText colour (text_overlay). Default: white.
fontSizenumberFont size in points (text_overlay). Default: 36.
formatstringOutput format: png, jpg, webp, gif, bmp, tiff (convert).
heightnumberTarget height in pixels (resize/crop).
input *stringAbsolute path to the input image.
offsetXnumberCrop X offset from top-left. Default: 0.
offsetYnumberCrop Y offset from top-left. Default: 0.
positionstringText position: north, south, center, northeast, etc. Default: south.
qualitynumberJPEG/WebP quality 1-100 (compress). Default: 80.
textstringText to overlay (text_overlay).
widthnumberTarget width in pixels (resize/crop).
media_infoGet metadata about any media file: duration, resolution, codec, bitrate, channels, etc. Requires ffprobe.
ParameterTypeDescription
input *stringAbsolute path to the media file.
media_ttsConvert text to speech using Edge TTS (free, local — requires the optional node-edge-tts package). Returns an audio file path (OGG/Opus when ffmpeg is available, else MP3).
ParameterTypeDescription
pitchstringPitch shift, e.g. "+5Hz" or "-10Hz".
ratestringSpeaking rate, e.g. "+20%" or "-10%".
text *stringText to speak.
voicestringPreset name (guy, jenny, aria, davis, tony, ana, brian, emma, ryan, sonia, william, natasha) or a full Edge voice id.
media_tts_voicesList the available text-to-speech voice presets.
media_video_editEdit a video. Basic: trim, extract_frame, extract_frames, convert, gif, compress, resize, add_audio, remove_audio, speed. Cinematic: color_grade, transition, text_overlay, picture_in_picture, split_screen, ken_burns, slow_motion, watermark, concatenate, audio_mix, auto_caption. Requires ffmpeg (ImageMagick for text/captions, whisper.cpp for auto_caption).
ParameterTypeDescription
action *stringThe edit action.
audioPathstringPath to an audio file (add_audio, audio_mix).
bgVolumestringBackground audio volume for audio_mix. Default: 0.3.
captionColorstringAuto-caption text colour. Default: white.
captionFontSizenumberAuto-caption font size. Default: auto-scaled.
colorPresetstringColour grade preset: warm, cool, vintage, cinematic, dramatic, bleach, noir, vivid, muted, golden_hour.
crfnumberQuality 0-51, lower is better. Default: 28.
durationstringDuration in seconds.
endstringEnd time: "00:00:15" or "15".
fgVolumestringForeground audio volume for audio_mix. Default: 1.0.
filesarrayArray of file paths (concatenate).
fontColorstringText colour. Default: white.
fontSizenumberFont size for text_overlay. Default: 72.
formatstringOutput format: mp4, webm, mov, avi, mkv.
fpsnumberFrame rate.
heightnumberTarget height.
inputstringAbsolute path to the input video (or image for ken_burns). Not required for concatenate.
intervalnumberSeconds between extracted frames. Default: 1.
lutPathstringPath to a .cube LUT file for color_grade.
overlayOpacitynumberWatermark opacity 0.0-1.0. Default: 0.7.
overlayScalenumberWatermark scale 0.0-1.0. Default: 0.2.
pipPositionstringPiP position: top-left, top-right, bottom-left, bottom-right.
pipWidthnumberPicture-in-picture overlay width. Default: 320.
secondInputstringSecond video/image path (transition, picture_in_picture, split_screen).
speedFactornumberSpeed multiplier: 0.5 = half, 2 = double.
splitDirectionstringSplit-screen direction. Default: horizontal.
startstringStart time: "00:00:05" or "5".
textstringText for text_overlay.
textBgstringText background colour with opacity, e.g. "black@0.5".
textEndstringWhen text disappears (seconds).
textPositionstringText position: center, top, bottom, top-left, top-right, bottom-left, bottom-right.
textStartstringWhen text appears (seconds). Default: 0.
timestampstringTimestamp for single frame extraction.
transitionDurationnumberTransition duration in seconds. Default: 1.
transitionTypestringTransition type: fade, wipeleft, slideright, circlecrop, etc. Default: fade.
watermarkPathstringPath to the watermark/logo image.
watermarkPositionstringWatermark position: top-left, top-right, bottom-left, bottom-right, center.
whisperModelstringAbsolute path to a whisper.cpp model file (.bin) — required for auto_caption.
widthnumberTarget width.
zoomDirectionstringKen Burns: zoom_in, zoom_out, pan_left, pan_right, pan_up, pan_down.
zoomDurationnumberKen Burns output duration in seconds. Default: 5.
zoomFactornumberKen Burns zoom factor 1.0-3.0. Default: 1.5.
media_video_understandAnalyse a video before editing it. Extracts frames at intervals and (when a whisper model is supplied) transcribes the audio, returning a structured timeline of what is shown and said. Requires ffmpeg; transcription additionally needs whisper.cpp + a model file.
ParameterTypeDescription
frameIntervalnumberSeconds between extracted frames. Default: 3.
input *stringAbsolute path to the video file.
maxFramesnumberMaximum number of frames to extract. Default: 30.
whisperModelstringAbsolute path to a whisper.cpp model file (.bin). When supplied, the audio is transcribed and merged into the timeline.
media_voice_cloneSynthesise speech in a reference voice using F5-TTS. Requires a Python interpreter with the f5-tts and soundfile packages. You MUST supply a reference audio sample and its transcript — there is no built-in voice.
ParameterTypeDescription
devicestringCompute device for F5-TTS: cpu, cuda, mps. Default: cpu.
refAudio *stringAbsolute path to the reference audio sample (required).
refText *stringTranscript of the reference audio (required).
text *stringText to speak in the cloned voice. Keep it short (~15 words) for best quality.
memoryYour persistent, long-term memory — knowledge that survives across every conversation, like a human employee learning on the job. Use `set` to remember something durable (a preference, a fact, a correction, a learned skill); `search` to recall by topic; `list` to browse; `get` to read one entry; `delete` to forget. Memory is private to you and persists forever unless it decays from disuse or you delete it. Store things you would want to still know weeks from now — not transient task state.
ParameterTypeDescription
action *stringset | get | search | list | delete
categorystringset: memory category (default: context).
contentstringset: the thing to remember (plain text).
idstringget | delete: the memory entry id.
importancestringset: how important this is (default: normal). critical entries never decay.
limitnumbersearch | list: max entries to return (default 50).
querystringsearch: the topic to recall.
tagsarrayset: optional tags.
titlestringset: a short title/label for the memory (optional — derived from content if omitted).
memory_contextGet a ranked markdown digest of your most relevant persistent memory — what you would want loaded into your working context right now. Optionally pass a `query` to bias the digest toward a topic. This is the same memory block a voice/phone session injects so you act with full continuity.
ParameterTypeDescription
maxTokensnumberApproximate size budget (default 1500).
querystringOptional topic to focus the digest on.
memory_reflectRecord a self-reflection into your persistent memory — an insight or lesson you want to carry forward (stored as a high-confidence `reflection` entry). Use this at the end of a task or conversation to capture what you learned.
ParameterTypeDescription
content *stringThe reflection / insight to remember.
importancestringDefault: normal.
titlestringOptional short title.
memory_statsGet aggregate statistics about your persistent memory — total entries, breakdown by category / importance / source, and average confidence.
message_agentAsync fire-and-forget: deliver a message to another AI agent's inbox. They will process it on their own schedule (immediately if a dispatcher is attached, later otherwise) and may reply by email. Use this for non-blocking handoffs. Prefer `call_agent` when you need a structured reply back. Both flows let the target agent do the work AS THEMSELVES — never roleplay them inside your own host.
ParameterTypeDescription
agent *stringName of the recipient agent (e.g. "researcher", "writer")
prioritystringPriority level (default: normal)
subject *stringMessage subject — describe the purpose clearly
text *stringMessage body
move_emailMove an email to another folder (e.g., Trash, Archive)
ParameterTypeDescription
fromstringSource folder (default: INBOX)
to *stringDestination folder (e.g., Trash, Archive)
uid *numberUID of the email to move
phone_capabilitiesShow the configured phone provider, caller number, supported regions, and whether realtime media is available.
phone_transport_setupConfigure the phone call-control transport for this agent. This stores provider credentials and webhook settings; it does not start a call. Pick ONE provider — 46elks or twilio — and supply that provider's credentials. For 46elks pass username + password; for twilio pass accountSid + authToken (or the generic username + password — for twilio username is the account SID and password is the auth token).
ParameterTypeDescription
accountSidstringTwilio only: the account SID (alias for username when provider is "twilio").
apiUrlstringOptional provider API base URL override (46elks or Twilio REST root)
authTokenstringTwilio only: the account auth token (alias for password when provider is "twilio").
capabilitiesarrayTransport capabilities, e.g. ["call_control"] or ["call_control","realtime_media"]
passwordstring46elks API password. For twilio this is the auth token — prefer the authToken param for clarity.
phoneNumber *stringOwned caller phone number in E.164 format, e.g. +43123456789
providerstringPhone provider: "46elks" (default) or "twilio". Both support call-control missions and realtime voice.
supportedRegionsarraySupported region scopes: AT, DE, EU, WORLD
usernamestring46elks API username. For twilio this is the account SID — prefer the accountSid param for clarity.
webhookBaseUrl *stringPublic HTTPS base URL for AgenticMail phone webhooks
webhookSecret *stringShared secret included on provider webhook URLs (at least 24 characters)
purchase_domainSearch for available domains via Cloudflare Registrar (requires master API key). NOTE: Cloudflare API only supports READ access — domains must be purchased manually at https://dash.cloudflare.com or from another registrar (then point nameservers to Cloudflare).
ParameterTypeDescription
keywords *arrayKeywords to search for (e.g., ["mybot", "aimail"])
tldstringPreferred TLD (default: checks .com, .net, .io, .dev)
read_emailRead the full content of a specific email by its UID
ParameterTypeDescription
uid *numberThe UID of the email to read
recall_memorySearch your own long-term memory for something not already in front of you — a past preference, fact, or lesson you have learned. Fast.
ParameterTypeDescription
query *stringWhat to look for in your memory.
reply_emailReply to an email. Fetches the original message, auto-fills To, Subject (Re:), In-Reply-To, and References, then sends with quoted body. **For multi-agent thread coordination, pass `replyAll: true`** — the original sender lands on To:, every other thread participant lands on Cc:. **Wake routing is body-aware**: if your reply addresses a specific CC'd agent ("Marlow —", "@kepler", "handing off to rivet", etc.), the dispatcher wakes them automatically. If your body has no such addressing, the original sender (on To:) wakes by default. **Pass `wake` to override** explicitly (e.g. `wake: ["marlow"]` to force-target one agent, or `wake: []` to deliver silently). Outbound guard applies — HIGH severity content is held for review.
ParameterTypeDescription
htmlstringHTML reply (optional)
replyAllbooleanReply to all recipients (default: false)
text *stringYour reply text
uid *numberUID of the email to reply to
wakearrayOptional. Names of the agents who should get a host turn from the dispatcher when this reply lands. CC'd agents NOT in this list still receive the email but stay asleep — saves significant tokens on large threads. Pass `[]` to deliver silently. Omit to wake everyone CC'd.
request_toolsDiscover AgenticMail tools that are NOT already in your loaded tool list. Returns a text catalogue grouped by set (mail_extras, sms, agent_coord, …) with each tool name and its schema summary. After calling this, use `invoke` to call any tool by name. Optional filters: `query` (substring match on tool name/description) or `sets` (return only the named sets).
ParameterTypeDescription
querystringCase-insensitive substring filter on tool name or description (e.g. "signature", "voice").
setsarrayRestrict the output to these set names (e.g. ["sms", "mail_extras"]). See SET_DESCRIPTIONS for valid names.
resume_agentReverse a previous `stop_agent` call. Clears the `stopped` flag so the dispatcher resumes waking this agent on incoming mail and task events. The agent's inbox is exactly as it was during the pause — any mail that arrived while stopped is still there and will be picked up on the next natural wake. Requires master API key.
ParameterTypeDescription
name *stringName of the agent to resume
save_thread_memoryPersist a one-paragraph memory of where THIS agent stands on the given thread. Called at the end of every wake — Claude Code reads it back into the next wake's prompt so the agent doesn't re-derive context from scratch by re-reading 10 prior messages. Pass `threadId` from `get_thread_id`. Fields are a snapshot: summary (where the thread stands), commitments (what you committed to), openQuestions (what you are blocked on), lastAction (what you just did), lastUid (newest UID you have digested). The file overwrites; you do not need to merge with the previous version — the dispatcher reads only the most recent write.
ParameterTypeDescription
commitmentsarrayThings you have committed to doing on this thread.
lastActionstringThe last action you took on the thread (e.g. "replied UID 41 asking for raw counts").
lastUidnumberNewest message UID you have digested into this memory.
openQuestionsarrayThings you are waiting on / open questions.
summarystringOne-paragraph narrative of where the thread stands.
threadId *stringStable thread id from get_thread_id. Required.
schedule_callbackArrange an auto-callback to this same number at a later time. Use this when you cannot finish in the time available, or when the caller needs a break, or when context dictates a follow-up ("call me after 5pm", "try again tomorrow"). The next call picks up with your summary + the transcript so far automatically — say goodbye and the system handles re-dialing. Only ONE callback can be scheduled per call; choose carefully.
ParameterTypeDescription
delay_seconds *numberHow many seconds from now to call back. Minimum 30, maximum 604800 (7 days). Use larger delays generously — "tomorrow morning" is ~57600s.
reasonstringOne short line for the audit trail — e.g. "ran out of time before confirming the booking" or "caller asked me to ring back after 5pm".
summary_for_next_call *stringWhat the next call agent MUST know to pick up where you left off — facts you collected, the caller's name, what was agreed, what is still open. Be concrete; this is all the next agent has from your call.
search_emailSearch your email inbox for a past message — useful to confirm a detail the caller refers to.
ParameterTypeDescription
query *stringWhat to search your inbox for.
search_emailsSearch emails by criteria (from, to, subject, text, date range). By default searches the local inbox only. Set searchRelay=true to also search the connected Gmail/Outlook account — results include relay UIDs that can be imported with import_relay_email.
ParameterTypeDescription
beforestringMessages before date (ISO 8601)
fromstringFilter by sender address
searchRelaybooleanAlso search the connected Gmail/Outlook account (default: false). Use this to find past emails from the user's main inbox.
seenbooleanFilter by read/unread status
sincestringMessages since date (ISO 8601)
subjectstringFilter by subject keyword
textstringSearch body text
tostringFilter by recipient address
search_skillsSearch your skill library for a playbook that fits the situation you just hit on this call (billing dispute, debt collector tactics, reservation deadlock, etc). Returns up to 5 ranked matches, each with: id, name, BM25 score, when_to_use (the specific situation the skill is for), first_principle (the playbook's strategic frame), and a `recommendation` field. If `recommendation` says LOAD IT NOW or the top score > 0.3, immediately call load_skill with the top id — do not deliberate. If scores are weak (< 0.15), re-search with a different phrasing instead of loading a poor match. The model that judges "is this the right skill" is YOU — but the recommendation field will tell you what the right move usually is.
ParameterTypeDescription
query *stringPlain-language description of the situation, e.g. "rep insists on a commitment date", "the restaurant is fully booked", "I need to dispute a recurring charge after cancellation".
send_emailSend an email from the agent's mailbox. The PRIMARY primitive for multi-agent coordination. **Use `to` and `cc` as the email standard intends** — `to` is the actor(s) the message is addressed to (one or two recipients in most cases); `cc` is everyone else on the thread for awareness. Lumping every participant on `to` is wrong and defeats the wake gating. WAKE SEMANTICS (0.9.0+): by default only local @localhost recipients on `to:` get a host wake; CC'd local agents receive the mail but don't wake — they see it on their next natural wake. To override: pass `wake: ["alice","bob"]` for specific agents regardless of To/CC, or `wake: "all"` for the pre-0.9.0 "wake every recipient" behaviour, or `wake: []` to deliver silently. External emails are scanned for sensitive content; HIGH severity detections are BLOCKED for owner approval.
ParameterTypeDescription
attachmentsarrayFile attachments
ccstringCC recipients — the team. Comma-separated, e.g. "vesper@localhost, orion@localhost". CC'd local recipients receive the mail but DO NOT wake by default (0.9.0+). Put the actor on `to`; CC the rest for awareness.
htmlstringHTML body (optional)
inReplyTostringMessage-ID to reply to (optional)
referencesarrayMessage-IDs for threading (optional)
subject *stringEmail subject line
textstringPlain text body
to *stringPrimary actor — the agent(s) you want to act on this message. Usually one address; rarely two. **Everyone else on the thread goes on `cc`, NOT here.** Lumping all participants on `to` defeats the wake gating: every local @localhost recipient on `to` gets a host turn, so a 5-agent thread = 5 host turns per round. Comma-separated supported but use sparingly.
wakeanyOptional wake-control. Accepts: (1) an array of agent names — `["alice","bob"]` — to wake exactly those agents (overrides default To-only behaviour); (2) the string `"all"` to wake every local recipient on To and CC (pre-0.9.0 behaviour); (3) an empty array `[]` to deliver silently with no wakes; (4) omit entirely to use the default — wake local recipients on `To:` only. CC'd recipients NOT in the wake list still receive the mail in their inbox and will see it when they next wake naturally.
send_test_emailSend a test email through the gateway to verify configuration (requires master API key)
ParameterTypeDescription
to *stringEmail address to send the test to
setup_email_domainSet up a custom domain for real internet email via Cloudflare (requires master API key). ADVANCED: Requires Cloudflare account, API token, and a domain. Emails send from agent@yourdomain.com with full DKIM/SPF/DMARC. Optionally configures Gmail SMTP as outbound relay (recommended for residential IPs). After setup with gmailRelay, use setup_gmail_alias for each agent.
ParameterTypeDescription
cloudflareAccountId *stringCloudflare account ID
cloudflareToken *stringCloudflare API token (Zone>Zone>Read, Zone>DNS>Edit, Zone>Email Routing Rules>Edit, Account>Cloudflare Tunnel>Edit, Account>Workers Scripts>Edit; optional: Account>Registrar: Domains>Edit for domain purchase)
domainstringDomain to use (if already owned)
gmailRelayobjectGmail SMTP relay for outbound delivery (recommended for residential IPs without PTR records)
purchaseobjectPurchase a new domain (if domain not provided)
setup_email_relayConfigure Gmail/Outlook relay for sending real internet email (requires master API key). BEGINNER-FRIENDLY: Just needs a Gmail/Outlook email + app password. Agents send as user+agentname@gmail.com. Automatically creates a default agent (secretary) unless skipped. Best for: quick setup, personal use, no domain needed.
ParameterTypeDescription
agentNamestringName for the default agent (default: secretary). This becomes the email sub-address, e.g., user+secretary@gmail.com
agentRolestringRole for the default agent (default: secretary)
email *stringYour real email address (e.g., user@gmail.com)
imapHoststringIMAP host (auto-filled for gmail/outlook)
imapPortnumberIMAP port (auto-filled for gmail/outlook)
password *stringApp password (not your regular password)
provider *stringEmail provider (gmail, outlook, or custom)
skipDefaultAgentbooleanSkip creating the default agent (default: false)
smtpHoststringSMTP host (auto-filled for gmail/outlook)
smtpPortnumberSMTP port (auto-filled for gmail/outlook)
setup_gmail_aliasGet step-by-step instructions (with exact field values) to add an agent email as a Gmail "Send mail as" alias. Returns the Gmail settings URL and all field values. Required after domain mode setup with gmailRelay to show correct From address. The agent can automate this via browser tools or present instructions to the user.
ParameterTypeDescription
agentDisplayNamestringDisplay name for the alias (defaults to agent name)
agentEmail *stringAgent email to add as alias (e.g., secretary@yourdomain.com)
setup_guideGet a comparison of email setup modes (Relay vs Domain) AND the optional channels — realtime voice (OPENAI_API_KEY), phone call-control with a 46elks-vs-Twilio provider choice, and the Telegram channel — each with difficulty levels, requirements, pros/cons, and step-by-step instructions. Show this to users who want to set up real internet email, voice calls, phone, or Telegram.
setup_operator_emailSave the operator's notification email address for bridge-escalation alerts. When sub-agents mail a host bridge (e.g. `wake: ["codex"]`) AND no fresh host session is available for a headless resume, the dispatcher forwards a digest to this address so the operator gets a phone push (via Gmail / Apple Mail / whichever app handles their address). Master-key scoped. The host agent should call this during bootstrap after asking the operator: "what email should we alert you at when sub-agents need your attention?" — the answer is typically the operator's personal Gmail with mobile push enabled. Idempotent: re-running with a new address updates the config.
ParameterTypeDescription
email *stringOperator notification email (e.g. you@example.com). Pass `null` or an empty string to clear an existing setting.
setup_paymentGet instructions for adding a payment method to Cloudflare (required before purchasing domains). Returns Option A (self-service link) and Option B (browser automation steps). Card details go directly to Cloudflare — never stored by 🎀 AgenticMail.
skill_listList available phone-call skill playbooks, optionally filtered by category (e.g. "negotiation", "reservations", "debt-collection") or tag. Returns summaries (id, name, description, tags) — call `skill_load` with the id to get the full playbook.
ParameterTypeDescription
categorystringFilter by category. Valid: negotiation, customer-service, reservations, medical-admin, legal-admin, finance-admin, real-estate, travel, subscription, home-services, social, civic, employment, debt-collection, other.
tagstringFilter by a single tag (case-insensitive).
skill_loadLoad the FULL skill playbook by id. Returns the complete JSON document: principles, scripted phrases, tactic priority list, boundaries, success/failure signals, exit strategy. Use the response to ground your next turns on the call — the playbook should drive your phrasing, tactic order, and exit decisions.
ParameterTypeDescription
id *stringSkill id (lowercase-hyphenated, e.g. "negotiate-bill-reduction").
skill_searchFuzzy-search skills by free-text query against name, description, tags, principles, phrases, and tactic scripts. Use this DURING a call when you need a playbook for the situation you just hit ("the rep is asking for a settlement number — what do I do?"). Returns ranked summaries; load the top match with `skill_load`.
ParameterTypeDescription
limitnumberMax results (default 10).
query *stringFree-text query, e.g. "rep wants me to commit to payment" or "restaurant fully booked".
sms_check_codeCheck for recent verification/OTP codes received via SMS. Scans inbound SMS for common code patterns (6-digit, 4-digit, alphanumeric). Use this after requesting a verification code during sign-up flows.
ParameterTypeDescription
minutesnumberHow many minutes back to check (default: 10)
sms_configGet the current SMS/phone number configuration for this agent. Shows whether SMS is enabled, the phone number, and forwarding email.
sms_messagesList SMS messages (inbound and outbound). Use direction filter to see only received or sent messages.
ParameterTypeDescription
directionstringFilter by direction
limitnumberMax messages (default: 20)
offsetnumberSkip messages (default: 0)
sms_parse_emailParse an SMS from a forwarded Google Voice email. Use this when you receive an email from Google Voice containing an SMS. Extracts the sender number, message body, and any verification codes.
ParameterTypeDescription
emailBody *stringThe email body text to parse
emailFromstringThe email sender address
sms_read_voiceGet instructions and URL for reading SMS directly from Google Voice web (FASTEST method). Returns the voice.google.com URL and guidance for browser-based SMS reading. Primary method - much faster than email forwarding.
sms_recordRecord an SMS message read from Google Voice web or any other source. Saves to SMS database and extracts verification codes. Use after reading a message from voice.google.com.
ParameterTypeDescription
body *stringSMS message text
from *stringSender phone number
sms_sendSend an SMS text message. Direct provider configs such as 46elks send through the provider API; Google Voice legacy configs return browser-send instructions.
ParameterTypeDescription
body *stringText message body
to *stringRecipient phone number
sms_setupConfigure SMS/phone number access. Supports Google Voice legacy forwarding and direct 46elks provider delivery/webhooks.
ParameterTypeDescription
apiUrlstring46elks only: optional API base URL override
forwardingEmailstringGoogle Voice only: email address Google Voice forwards SMS to (defaults to agent email)
forwardingPasswordstringGoogle Voice only: app password for a separate forwarding Gmail
passwordstring46elks only: API password
phoneNumber *stringSMS phone number in E.164 format (e.g. +46701234567 or +12125551234)
providerstringSMS provider (default: google_voice)
usernamestring46elks only: API username
webhookSecretstring46elks only: shared secret required on inbound SMS webhooks
stop_agentHARD-stop an agent mid-task WITHOUT deleting it. Sets the agent's `stopped` flag and (0.9.29+) immediately ABORTS any in-flight worker for that agent — the running SDK call is killed via AbortController, any queued coalesced wakes are dropped, and any deferred rate-limit retries are cancelled. After the stop, the dispatcher refuses to wake the agent for any reason (allowlists, To/Cc, task events all silently no-op). Mail STILL lands in the mailbox, so the email-thread audit trail is preserved. Use this instead of `delete_agent` when you want to halt a churning sub-agent right now and keep the option to read the thread later or resume it. Resume with `resume_agent`. Requires master API key.
ParameterTypeDescription
name *stringName of the agent to stop
reasonstringOptional free-form reason (e.g. "task superseded", "user requested halt") — stored on the agent row for later audit.
storageFull database management system for agents. 28 actions: DDL (create/alter/drop/clone/rename tables & columns), DML (insert/upsert/query/aggregate/update/delete/truncate), indexing (create/list/drop/reindex), import/export (JSON/CSV, conflict handling), raw SQL, maintenance (stats/vacuum/analyze/explain), archiving. WHERE supports operators: $gt, $gte, $lt, $lte, $ne, $like, $ilike, $in, $not_in, $is_null, $between. Works on SQLite, Postgres, MySQL, Turso.
ParameterTypeDescription
action *stringcreate_table, list_tables, describe_table, insert, upsert, query, aggregate, update, delete_rows, truncate, drop_table, clone_table, rename_table, rename_column, add_column, drop_column, create_index, list_indexes, drop_index, reindex, archive_table, unarchive_table, export, import, sql, stats, vacuum, analyze, explain
columnobjectFor add_column: {name, type, ...}
columnNamestringFor drop_column
columnsarrayFor create_table: [{name, type, required?, default?, unique?, primaryKey?, references?: {table, column, onDelete?}, check?}]
conflictColumnstringFor upsert/import
descriptionstringFor create_table: human-readable description
distinctbooleanSELECT DISTINCT
formatstringFor export: json|csv
groupBystringGROUP BY clause
havingstringHAVING clause
includeArchivedbooleanFor list_tables
includeDatabooleanFor clone_table
includeSharedbooleanFor list_tables
indexColumnsarrayFor create_index
indexNamestringFor create/drop_index
indexUniquebooleanFor create_index
indexWherestringPartial index condition
indexesarrayFor create_table: [{columns, unique?, name?, where?}]
limitnumberMax rows
newNamestringFor rename_table/rename_column/clone_table
offsetnumberSkip rows
oldNamestringFor rename_column
onConflictstringFor import: skip|replace|error
operationsarrayFor aggregate: [{fn: count|sum|avg|min|max|count_distinct, column?, alias?}]
orderBystringORDER BY clause
paramsarrayFor sql/explain: query params
rowsarrayFor insert/upsert/import: row objects
selectColumnsarraySpecific columns to select
setobjectFor update: {column: newValue}
sharedbooleanFor create_table: shared across agents
sqlstringFor sql/explain: raw SQL
tablestringTable name
timestampsbooleanFor create_table: auto-add created_at/updated_at (default: true)
whereobjectFilter conditions with operator support
submit_resultSubmit the result for a claimed task, marking it as completed
ParameterTypeDescription
id *stringTask ID
resultobjectTask result data
tail_workerTail the log of a running (or recently-finished) dispatcher worker. Use this when check_activity shows a worker has been running a long time or is marked stale, and you want to see what it is actually doing — every tool call, tool result, and assistant chunk is logged as a one-liner. Returns the last N lines (default 80). The workerId comes from check_activity output. Requires master key.
ParameterTypeDescription
linesnumberHow many trailing log lines to return. Default 80, max 1000.
workerId *stringWorker id from check_activity output.
telegram_configGet the current Telegram channel configuration for this agent — whether it is enabled, the bot username, linked chats, and transport mode. Credentials are redacted.
telegram_messagesList stored Telegram messages (inbound and outbound) for this agent, newest first.
ParameterTypeDescription
chatIdstringFilter by chat id.
directionstringFilter by direction.
limitnumberMax messages (default: 20, max: 100).
offsetnumberSkip messages (default: 0).
telegram_pollPull and process new Telegram updates (poll-mode transport). Call this on a schedule when the channel is in poll mode to ingest new inbound messages and answer ask_operator questions sent from the operator chat.
telegram_sendSend a Telegram message from this agent's bot to a chat. Requires the Telegram channel to be configured (telegram_setup) and enabled.
ParameterTypeDescription
chatId *stringTarget Telegram chat id.
replyToMessageIdnumberOptional Telegram message id to reply to.
text *stringMessage text to send.
telegram_setupConfigure the Telegram channel for this agent — register a bot token from @BotFather and link the chat(s) allowed to message the agent. The token is verified with Telegram and stored encrypted. Defaults to poll mode (call telegram_poll on a schedule); pass mode "webhook" with a public HTTPS webhookUrl + webhookSecret for push delivery.
ParameterTypeDescription
allowedChatIdsarrayAdditional chat ids permitted to message the agent. An empty allow-list means only the operator chat can reach the agent (fail-closed).
botToken *stringTelegram bot API token from @BotFather (e.g. 123456789:AA...).
modestringInbound transport: "poll" (default — pull updates with telegram_poll) or "webhook" (Telegram pushes updates).
operatorChatIdstringThe chat id of the operator — always allowed to message the agent and to answer ask_operator questions.
webhookSecretstringWebhook mode only: shared secret echoed in the X-Telegram-Bot-Api-Secret-Token header (at least 16 chars, A-Z a-z 0-9 _ -).
webhookUrlstringWebhook mode only: public HTTPS URL Telegram delivers updates to.
template_sendSend an email using a saved template with variable substitution. Variables like {{name}} are replaced.
ParameterTypeDescription
bccstringBCC recipients
ccstringCC recipients
id *stringTemplate ID
to *stringRecipient email
variablesobjectVariables to substitute: { name: "Alice" }
wakearrayOptional. Names of the agents who should get a host turn when this template-rendered mail lands. Pass `[]` to deliver silently. Omit to wake everyone CC'd.
update_metadataUpdate the current agent's metadata. Merges provided keys with existing metadata.
ParameterTypeDescription
metadata *objectMetadata key-value pairs to set or update
wait_for_emailBlock until a matching email (or task) lands in your inbox. Push-based (SSE) — far more efficient than polling. Supports filtering by sender, subject substring, thread (In-Reply-To), or a participants list. The single-most-useful tool for thread-based coordination: send a kickoff email CC'ing your team, then `wait_for_email({ subject: "<core thread subject>" })` to wake on the first reply. Non-matching events that arrive during the wait are ignored — you only resume when something you asked for shows up (or timeout).
ParameterTypeDescription
fromstringOnly resume on an email FROM this address (case-insensitive substring match on the bare address — "orion" matches "orion@localhost").
inReplyTostringOnly resume on an email whose In-Reply-To header equals this Message-ID. Most precise thread filter — use when you have the exact Message-ID of the message you expect a reply to.
includeTasksbooleanInclude task-assignment events as matches (default: true). Set false if you only care about email.
participantsarrayOnly resume on an email from ANY of these addresses (case-insensitive). Use this to wait for any teammate's reply, e.g. ["vesper@localhost", "orion@localhost"].
subjectstringOnly resume on an email whose subject contains this string (case-insensitive). The thread's core subject works — "Build a small game" matches "Re: Build a small game".
timeoutnumberMax seconds to wait (default: 120, max: 300)
web_searchSearch the web for current information you do not know — facts, opening hours, prices, news. Returns the top results as text. Fast; a brief "one moment" is enough.
ParameterTypeDescription
query *stringWhat to search the web for.
whoamiGet the current agent's account info — name, email, role, and metadata

Security checks

Static checks derived from the repository 23 hours ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 11K words.
  • ✓License declaredThe repository declares the MIT license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedDependency versions are pinned by package-lock.json.
  • !No dynamic code executionScanned 219 source files and found 28 calls to eval or shell execution, in agenticmail/src/cli.ts:3376, agenticmail/src/cli.ts:3386 and agenticmail/src/shell.ts:3329 among others. Review how tool inputs reach them before granting credentials.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

What the source scan found

Transport
stdio and Streamable HTTPpackages/mcp/src/index.ts:3, packages/mcp/src/index.ts:4
Starts other programs
71 callsagenticmail/src/bin-host-shim.ts:123, agenticmail/src/cli.ts:438, agenticmail/src/cli.ts:509
Outbound network calls
85 callsagenticmail/src/anthropic-token.ts:126, agenticmail/src/cli.ts:391, agenticmail/src/cli.ts:413
Writes or deletes files
No file writes or deletes
Lockfile
package-lock.json

Pattern matches on the source text of 219 files: places to read, not proof of what the code does at run time.

Releases

agenticmail-cli-v0.9.110@agenticmail/cli v0.9.110 — security release · 13 Nov 2026Security release Upgrade now: npm install -g @agenticmail/cli@latest | Package | Version | |---|---| | @agenticmail/cli | 0.9.110 | | @agenticmail/api | 0.9.65 | | @agenticmail/core | 0.9.44 | | @agenticmail/mcp | 0.9.30 | |…
agenticmail-cli-v0.9.104@agenticmail/cli v0.9.104 — PM2 launchd autostart self-heal · 5 Jun 2026What's new Self-healing PM2 autostart on macOS reboots. Stock `pm2 startup` ships a launchd plist with `LaunchOnlyOnce=true` — a deprecated key that launchd interprets as "run once in the entire lifetime of the plist." After the first boot…
v0.9.103v0.9.103 — stop_agent actually stops the running worker · 30 May 2026Fixed — `stop_agent` now hard-stops in-flight work Before this release, `stop_agent` set the `stopped` flag and the dispatcher refused to wake the agent on FUTURE events — but any worker already mid-tool-call kept running to natural…
v0.9.102v0.9.102 — broadcast_email: private fan-out to N agents · 30 May 2026Added — `broadcast_email` MCP tool: send the same message to N agents privately Agents can now hand the same message to N teammates as N separate, isolated emails — no CC, no shared thread. Each recipient sees only their own address on…
v0.9.101v0.9.101 — security: GHSA-63gr-g7jc-v8rg (MCP HTTP auth) · 29 May 2026Security — fixes GHSA-63gr-g7jc-v8rg — missing auth on `@agenticmail/mcp --http` The optional Streamable HTTP transport (`agenticmail-mcp --http` / `MCP_HTTP=1`) listened on all interfaces with no `Authorization` check. A client that could…

README

The repository's README runs to about 11K words, fetched 23 hours ago. The original in the repository is authoritative.

Read full README
Questions

About Agenticmail

How do I install Agenticmail?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Agenticmail safe to use with an AI agent?

Its trust score is 70 out of 100 (good). It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass No dynamic code execution and Scoped permissions. Conduid's scan of 219 source files found that it serves MCP over stdio and Streamable HTTP, starts other programs (71 calls) and makes outbound network calls (85 calls). Its dependencies are pinned by package-lock.json. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Agenticmail still maintained?

Yes — the latest release is agenticmail-cli-v0.9.110 (13 Nov 2026), and the last commit was 5 days ago. The repository has 261 stars and 2 open issues.

What tools does Agenticmail provide?

Conduid read 112 tools from the source: ask_operator, batch_delete, batch_mark_read, batch_mark_unread, batch_move, batch_read, broadcast_email, call_agent and 104 more. 96 of them publish their parameters, listed under Tools above.

What license is Agenticmail released under?

The repository declares the MIT license. That applies to the latest release, agenticmail-cli-v0.9.110, as well.