@mailagent/mcp
MailAgent MCP server (stdio) for Cursor and AI agents — email verification inboxes
Versions
0.2.16latest0.2.150.2.140.2.130.2.12+ show 10 moreshow less
0.2.110.2.100.2.90.2.80.2.70.2.60.2.50.2.40.2.30.2.0Tools 37
mailagent_list_threads List threads or messages in a thread.
mailagent_issue_access Issue a short-lived scoped API key for one autonomous MailAgent run. Requires an unrestricted DB team key.
mailagent_plan_next Autopilot planner: return the next best MailAgent tool and ready payloads from current signup/login state. Use when unsure what to do next.
mailagent_start_run Start a server-side autonomous agent run session and return the first autopilot plan.
mailagent_next_run Resume an agent run and return the next best tool/payload from saved session state.
mailagent_report_run Report run progress/failure, append a timeline step, update saved state, and return the next plan.
mailagent_workspace_summarize Workspace Agent preview: summarize supplied mail/thread messages, action items, decisions, and open questions.
mailagent_workspace_draft_reply Workspace Agent preview: draft a reply from supplied messages. Draft-only; never sends.
mailagent_workspace_suggest_reminders Workspace Agent preview: suggest reminders/follow-ups from supplied messages. Does not create reminders yet.
mailagent_send_message Send outbound email from inbox (two-way agent mail).
mailagent_workspace_create_reminder Workspace Agent preview: persist a reminder/follow-up. Does not send email or create calendar events.
mailagent_workspace_list_reminders Workspace Agent preview: list saved reminders/follow-ups for the current team or API key.
mailagent_workspace_complete_reminder Workspace Agent preview: mark a saved reminder/follow-up as completed.
mailagent_workspace_log_action Workspace Agent preview: log what the agent did for a reminder/thread.
mailagent_workspace_list_actions Workspace Agent preview: list logged Workspace actions, optionally scoped by reminderId or threadId.
mailagent_workspace_get_policy Read the Workspace Agent autonomy policy. Default is draft_only.
mailagent_workspace_model_status Show DeepSeek/Qwen readiness and fallback order without exposing secrets.
mailagent_workspace_set_policy Admin-only: configure policy-gated autonomous replies.
mailagent_workspace_execute_reply Policy-gated autonomous reply from a real inbound message. Use dryRun first; idempotencyKey is required to send.
mailagent_suggest_preset Suggest service preset, expectFrom, subjectContains, flow, and snippets from a sample auth email From/Subject/body. Use before verify when sender or service is unclear.
mailagent_create_inbox Create a temporary email inbox for agent workflows (signups, OTP, magic links). Returns inbox id and email address to use on external forms.
mailagent_verify_signup Preferred agent flow: create inbox (or reuse inboxId), wait for verification email, return agent.primaryAction with OTP or magic link and clear instruction. Use service preset (github, google, dribbble, …).
mailagent_wait_and_extract One-shot agent flow: optionally create inbox, wait via SSE for first allowed email, return OTP + links, delete inbox by default. Use service=dribbble for Dribbble signup.
mailagent_list_inboxes List active inboxes by label (QA: debug failed CI run, find address/ids).
mailagent_wait_for_message Block until the first email arrives (SSE, fallback poll). Use after submitting a form to the inbox address.
mailagent_list_messages List all messages received for an inbox (newest first).
mailagent_extract_verification Get OTP code and links from the latest email in the inbox (pre-parsed at ingest). Best after a message arrived.
mailagent_simulate_message Inject test OTP email without SMTP (QA/dev, sim_* provider).
mailagent_diagnose_inbox When wait/verify fails: messages, callbacks, hints, debugUiUrl, troubleshooting.
mailagent_get_inbox Get inbox status: address, expiry, message count.
mailagent_delete_inbox Delete inbox and all messages early (cleanup after verification).
mailagent_cleanup_inboxes Delete all inboxes matching a labelPrefix, or an agent run via runId.
mailagent_get_raw_message Download archived .eml metadata or body (base64 via API when includeBody). Use when extract finds no OTP.
mailagent_check_email Check email syntax, disposable, role, MX (DNS). ONLY for app validation tests — NOT before verify_signup.
mailagent_get_run_session Read multi-step agent run state (JSON + step log) by runId.
mailagent_get_run_timeline Read normalized agent run timeline events by runId.
mailagent_patch_run_session Merge state and/or append a step for multi-step agent flows.
Permissions 4
network medium filesystem low shell high env_vars low