1. Conduid
  2. Browser
  3. Herald Mail App
MCP server · Browser

Herald Mail App

Herald is a terminal email client and inbox cleanup tool with IMAP, AI-assisted triage, MCP tools, and SSH/browser-friendly app modes.

Unclaimed browser
62Good

Scored 21 hours ago · breakdown

About Herald Mail App

Herald Mail App is an MCP server published by herald-email in the Browser category: herald is a terminal email client and inbox cleanup tool with IMAP, AI-assisted triage, MCP tools, and SSH/browser-friendly app modes. Conduid read 64 tools from its source: add_rule, archive_email, archive_sender, archive_thread, bulk_delete, bulk_move and 58 more. No package is published for it, so it installs from a source checkout.

The repository has 150 stars and 5 forks, and its last commit was on 30 Nov 2026. The latest release is v0.9.0-beta.1. It follows v0.8.0-beta.1, and the 5 most recent releases go back to v0.7.3-beta.1. It passes all 4 static checks Conduid ran on the repository. Its topics include browser.

Install

From source
git clone https://github.com/herald-email/herald-mail-app

Tools (64)

add_ruleCreate a new email automation rule
ParameterTypeDescription
actions *stringJSON array of RuleAction objects
namestringRule name (optional, auto-generated if empty)
trigger_type *stringsender | domain | category | subject
trigger_value *stringThe value to match (email address, domain, category name, or case-insensitive subject substring)
archive_emailArchive an email (move to Archive folder). Requires the herald daemon.
ParameterTypeDescription
account_idstringAccount ID from scoped MCP listing output
folderstringSource folder (default: INBOX)
local_idstringScoped Herald message local ID from listing output
message_id *stringMessage ID
source_idstringMail source ID from scoped MCP listing output
archive_senderArchive all emails from a sender. Requires the herald daemon.
ParameterTypeDescription
account_idstringAccount ID when multiple accounts are configured
folderstringSource folder (default: INBOX)
sender *stringSender email address
source_idstringMail source ID when multiple accounts are configured
archive_threadArchive all emails in a thread (grouped by subject). Requires the herald daemon.
ParameterTypeDescription
account_idstringAccount ID when multiple accounts are configured
folder *stringIMAP folder name
source_idstringMail source ID when multiple accounts are configured
subject *stringThread subject to match
bulk_deleteDelete a list of emails by message ID. Requires the herald daemon.
ParameterTypeDescription
account_idstringAccount ID when all message_ids belong to one account
folderstringFolder hint when all message_ids belong to one folder
local_idsstringJSON array of scoped Herald local IDs matching message_ids
message_ids *stringJSON array of message IDs, e.g. ["id1","id2"]
source_idstringMail source ID when all message_ids belong to one source
bulk_moveMove a list of emails to a target folder. Requires the herald daemon.
ParameterTypeDescription
account_idstringAccount ID when all message_ids belong to one account
folderstringFolder hint when all message_ids belong to one folder
local_idsstringJSON array of scoped Herald local IDs matching message_ids
message_ids *stringJSON array of message IDs
source_idstringMail source ID when all message_ids belong to one source
to_folder *stringDestination folder name
classify_emailRun AI classification on one email
ParameterTypeDescription
message_id *stringThe Message-ID of the email to classify
classify_email_customRun a custom classification prompt against an email and persist the result
ParameterTypeDescription
message_id *stringThe Message-ID of the email to classify
prompt_id *numberThe ID of the custom prompt to use (from list_classification_prompts)
classify_folderBatch classify all unclassified emails in a folder using AI. Requires Ollama and a running herald daemon.
ParameterTypeDescription
folder *stringIMAP folder name (e.g. INBOX)
create_calendar_eventCreate a calendar event through the running herald daemon
ParameterTypeDescription
account_idstringAccount ID
all_daybooleanWhether this is an all-day event
calendar_id *stringCalendar collection ID
descriptionstringEvent notes/description
end *stringEnd time, RFC3339 or YYYY-MM-DD HH:MM
end_timezonestringIANA timezone for the end wall time
event_idstringProvider event ID to request
locationstringEvent location
source_idstringCalendar source ID
start *stringStart time, RFC3339 or YYYY-MM-DD HH:MM
start_timezonestringIANA timezone for the start wall time
timezonestringIANA timezone, for non-RFC3339 start/end values
title *stringEvent title
create_cleanup_ruleCreate a new auto-cleanup rule. Requires the herald daemon.
ParameterTypeDescription
action *stringAction to perform: 'delete' or 'archive'
match_type *stringMatch type: 'sender' or 'domain'
match_value *stringValue to match, e.g. newsletter@example.com or example.com
name *stringHuman-readable rule name
older_than_daysnumberOnly affect emails older than this many days (default 30)
create_folderCreate a new IMAP mailbox folder
ParameterTypeDescription
name *stringName for the new folder, e.g. 'Work/Projects'
delete_calendar_eventDelete a calendar event through the running herald daemon
ParameterTypeDescription
account_idstringAccount ID
calendar_idstringCalendar collection ID
event_idstringProvider event ID
instance_idstringRecurrence instance ID, when present
local_idstringScoped Herald event local ID from list/search results
source_idstringCalendar source ID
delete_emailDelete an email. Requires the herald daemon to be running.
ParameterTypeDescription
account_idstringAccount ID from scoped MCP listing output
folderstringFolder name (default: INBOX)
local_idstringScoped Herald message local ID from listing output
message_id *stringMessage ID
source_idstringMail source ID from scoped MCP listing output
delete_folderPermanently delete an IMAP mailbox folder
ParameterTypeDescription
name *stringName of the folder to delete
delete_threadDelete all emails in a thread (grouped by subject). Requires the herald daemon.
ParameterTypeDescription
account_idstringAccount ID when multiple accounts are configured
folder *stringIMAP folder name
source_idstringMail source ID when multiple accounts are configured
subject *stringThread subject to match
draft_replyDraft a reply to an email. Requires AI and cached body.
ParameterTypeDescription
message_id *stringMessage ID to reply to
tonestringTone of reply: professional or casual (default: professional)
dry_run_cleanup_rulesPreview cleanup rule matches without mutating mail
ParameterTypeDescription
folderstringOptional folder filter; omitted means all demo folders
rule_idnumberOptional cleanup rule ID to preview; omitted means all enabled demo cleanup rules
extract_action_itemsExtract action items from an email as a JSON array. Requires AI and cached body.
ParameterTypeDescription
message_id *stringMessage ID
forward_emailForward an email to a new recipient. Requires the herald daemon to be running.
ParameterTypeDescription
account_idstringAccount ID from scoped MCP listing output
bodystringOptional covering note (Markdown supported)
local_idstringScoped Herald message local ID from listing output
message_id *stringMessage ID of the email to forward
omit_original_attachmentsstringSet to true to omit all original file attachments from the forward
omitted_original_attachment_namesstringComma-separated original attachment filenames to omit
preservation_modestringHTML preservation mode: safe, fidelity, or privacy (default: safe)
source_idstringMail source ID from scoped MCP listing output
to *stringRecipient email address
get_attachmentRetrieve a specific attachment from an email. Optionally save to disk. Requires the herald daemon.
ParameterTypeDescription
dest_pathstringIf provided, save attachment to this local file path and return the path
filename *stringAttachment filename (from list_attachments)
message_id *stringMessage ID of the email
get_calendar_eventRead one cached calendar event by scoped EventRef fields
ParameterTypeDescription
account_idstringAccount ID
calendar_idstringCalendar collection ID
event_idstringProvider event ID
instance_idstringRecurrence instance ID, when present
local_idstringScoped Herald event local ID from list/search results
source_idstringCalendar source ID
get_contactFull profile + recent emails
ParameterTypeDescription
email *stringContact's email address
get_custom_categoryRetrieve a stored custom classification result for an email
ParameterTypeDescription
message_id *stringThe Message-ID of the email
prompt_id *numberThe ID of the custom prompt
get_email_bodyCached plain-text body
ParameterTypeDescription
message_id *stringThe Message-ID of the email (from list_recent_emails or search_emails)
get_email_classificationsAI category counts for a folder
ParameterTypeDescription
folder *stringDemo folder name
get_sender_statsSenders ranked by email volume
ParameterTypeDescription
folder *stringDemo folder name
top_nnumberReturn top N senders
get_server_infoGet herald configuration and status information
get_sync_statusGet per-folder email counts from the IMAP server
get_threadGet all emails in the same thread (by subject) in a folder
ParameterTypeDescription
folderstringFolder to search (default: INBOX)
subject *stringEmail subject (Re:/Fwd: prefixes are stripped automatically)
list_attachmentsList attachment metadata for an email (no binary data). Requires the herald daemon.
ParameterTypeDescription
message_id *stringMessage ID of the email
list_calendar_eventsList cached calendar events for a scoped calendar source
ParameterTypeDescription
account_idstringAccount ID (default default)
endstringExclusive end time, RFC3339 or YYYY-MM-DD
limitnumberMaximum events to return (default 20, max 100)
source_idstringCalendar source ID (default default-calendar)
startstringInclusive start time, RFC3339 or YYYY-MM-DD
list_classification_promptsList all custom classification prompt templates stored in the database
list_cleanup_rulesList all auto-cleanup rules stored in the local cache
list_contactsPaginated contact list
ParameterTypeDescription
limitnumberMaximum contacts to return
list_draftsList all draft emails from the IMAP Drafts folder. Requires the herald daemon.
list_foldersList all email folders available in the local cache
list_recent_emailsMost recent emails in a folder
ParameterTypeDescription
folder *stringDemo folder name, e.g. INBOX
limitnumberMaximum emails to return
list_rulesList all enabled email automation rules
list_unread_emailsUnread emails only
ParameterTypeDescription
folder *stringIMAP folder name
limitnumberMaximum emails to return (default 20, max 100)
mark_readMark an email as read. Requires the herald daemon to be running.
ParameterTypeDescription
account_idstringAccount ID from scoped MCP listing output
folderstringFolder name (default: INBOX)
local_idstringScoped Herald message local ID from listing output
message_id *stringMessage ID
source_idstringMail source ID from scoped MCP listing output
mark_unreadMark an email as unread. Requires the herald daemon to be running.
ParameterTypeDescription
account_idstringAccount ID from scoped MCP listing output
folderstringFolder name (default: INBOX)
local_idstringScoped Herald message local ID from listing output
message_id *stringMessage ID
source_idstringMail source ID from scoped MCP listing output
move_emailMove an email to a different folder. Requires the herald daemon.
ParameterTypeDescription
account_idstringAccount ID from scoped MCP listing output
from_folder *stringSource folder
local_idstringScoped Herald message local ID from listing output
message_id *stringMessage ID
source_idstringMail source ID from scoped MCP listing output
to_folder *stringDestination folder
rename_folderRename an existing IMAP mailbox folder
ParameterTypeDescription
name *stringCurrent name of the folder to rename
new_name *stringNew name for the folder
reply_to_emailSend a reply to an existing email. Requires the herald daemon to be running.
ParameterTypeDescription
account_idstringAccount ID from scoped MCP listing output
body *stringReply body (Markdown supported)
local_idstringScoped Herald message local ID from listing output
message_id *stringMessage ID of the email to reply to
preservation_modestringHTML preservation mode: safe, fidelity, or privacy (default: safe)
source_idstringMail source ID from scoped MCP listing output
run_cleanup_rulesRun enabled cleanup rules through the daemon
run_rulesEvaluate all automation rules against cached emails in a folder (dry run — no IMAP actions)
ParameterTypeDescription
folderstringFolder to process (default: INBOX)
save_draftSave an email draft to the IMAP Drafts folder. Requires the herald daemon.
ParameterTypeDescription
body *stringEmail body (Markdown supported)
subject *stringEmail subject
to *stringRecipient email address
search_by_dateFilter by date range
ParameterTypeDescription
afterstringOnly include emails after this date, ISO 8601 (e.g. 2024-01-01)
beforestringOnly include emails before this date, ISO 8601 (e.g. 2024-12-31)
folder *stringIMAP folder name
search_by_senderAll emails from a sender or domain
ParameterTypeDescription
folderstringIMAP folder to scope the search (omit for all folders)
sender *stringSender address or domain substring to match
search_calendar_eventsSearch cached calendar events by visible title, notes, location, attendees, organizer, or recurrence text
ParameterTypeDescription
account_idstringAccount ID (default default)
endstringExclusive end time, RFC3339 or YYYY-MM-DD
limitnumberMaximum events to return (default 20, max 100)
query *stringSearch text
source_idstringCalendar source ID (default default-calendar)
startstringInclusive start time, RFC3339 or YYYY-MM-DD
search_contactsKeyword search on name/email/company/topics
ParameterTypeDescription
query *stringSearch terms
search_emailsKeyword search on sender + subject
ParameterTypeDescription
folder *stringDemo folder name
query *stringSearch term
semantic_search_contactsNatural-language contact search
ParameterTypeDescription
limitnumberMax results (default 10)
query *stringNatural language query
semantic_search_emailsNatural-language search via chunked body embeddings
ParameterTypeDescription
folder *stringIMAP folder to search
limitnumberMax results (default 10)
min_scorenumberMinimum cosine similarity 0.0-1.0 (default 0.5)
query *stringNatural language query, e.g. 'emails about my lease renewal'
send_draftSend a saved draft and delete it from the Drafts folder. Requires the herald daemon.
ParameterTypeDescription
account_idstringAccount ID when multiple accounts are configured
source_idstringMail source ID when multiple accounts are configured
uid *numberThe UID of the draft to send (from list_drafts)
send_emailSend an email via SMTP. Requires the herald daemon to be running.
ParameterTypeDescription
body *stringEmail body (plain text)
fromstringSender address (optional, uses configured account)
subject *stringEmail subject
to *stringRecipient email address
soft_unsubscribe_senderCreate an auto-move rule that moves all future emails from a sender to a folder. Requires the herald daemon.
ParameterTypeDescription
account_idstringAccount ID when multiple accounts are configured
sender *stringSender email address to create rule for
source_idstringMail source ID when multiple accounts are configured
to_folderstringDestination folder (default: Disabled Subscriptions)
summarise_emailGenerate a summary via Ollama
ParameterTypeDescription
max_wordsnumberMaximum words in the summary (default 100)
message_id *stringThe Message-ID of the email to summarise
summarise_threadGenerate a summary of an email thread. Requires AI configured.
ParameterTypeDescription
folderstringFolder (default: INBOX)
subject *stringThread subject
sync_all_foldersTrigger background sync for all known IMAP folders
sync_folderTrigger an IMAP sync for a folder. Requires the herald daemon.
ParameterTypeDescription
folderstringFolder to sync (default: INBOX)
unsubscribe_senderExecute unsubscribe via the List-Unsubscribe header of an email (RFC 8058 POST or browser open). Requires the herald daemon.
ParameterTypeDescription
account_idstringAccount ID from scoped MCP listing output
local_idstringScoped Herald message local ID from listing output
message_id *stringMessage ID of the email to unsubscribe from
source_idstringMail source ID from scoped MCP listing output
update_calendar_eventUpdate a calendar event through the running herald daemon
ParameterTypeDescription
account_idstringAccount ID
all_daybooleanWhether this is an all-day event
calendar_idstringCalendar collection ID
descriptionstringEvent notes/description
endstringEnd time, RFC3339 or YYYY-MM-DD HH:MM
end_timezonestringIANA timezone for the end wall time
event_idstringProvider event ID
instance_idstringRecurrence instance ID, when present
local_idstringScoped Herald event local ID from list/search results
locationstringEvent location
source_idstringCalendar source ID
startstringStart time, RFC3339 or YYYY-MM-DD HH:MM
start_timezonestringIANA timezone for the start wall time
timezonestringIANA timezone, for non-RFC3339 start/end values
titlestringEvent title

Security checks

Static checks derived from the repository 11 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 3.2K words.
  • ✓License declaredUsable under a stated license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedDependency versions are pinned by go.sum.

2 checks have not been run yet.

Releases

v0.9.0-beta.1v0.9.0-beta.1
v0.8.0-beta.1v0.8.0-beta.1
v0.7.5-beta.1v0.7.5-beta.1
v0.7.4-beta.1v0.7.4-beta.1
v0.7.3-beta.1v0.7.3-beta.1

README

The repository's README runs to about 3.2K words, fetched a month ago. The original in the repository is authoritative.

Read full README
Questions

About Herald Mail App

How do I install Herald Mail App?

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

Is Herald Mail App safe to use with an AI agent?

Its trust score is 62 out of 100 (good). It passes all 4 static checks Conduid ran on the repository. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Herald Mail App still maintained?

Yes — the last commit was 2 days ago. The repository has 150 stars and 5 forks and 9 open issues.

What tools does Herald Mail App provide?

Conduid read 64 tools from the source: add_rule, archive_email, archive_sender, archive_thread, bulk_delete, bulk_move, classify_email, classify_email_custom and 56 more. 55 of them publish their parameters, listed under Tools above.