← Back to search

io.github.codefuturist/email-mcp

codefuturist Scanned 2d ago

IMAP/SMTP email MCP server — 47 tools, IMAP IDLE push, multi-account, AI triage.

D
49.8 / 100

Versions

0.1.1latest
first seen Jun 5, 2026
0.2.3
first seen May 19, 2026
PermissionsTool SafetyAuthAnnotationsCode QualityStabilitySpecVuln HistoryAuthorTransparencyCommunity

Tools 42

get_email_stats
annotations: none low

Get email statistics and analytics for a mailbox. Shows volume, top senders, daily trends, and read/flagged counts.

account string mailbox string
schedule_email
annotations: none low

Schedule an email to be sent at a specific time in the future. The email is queued locally and sent automatically when the time arrives.

body string html boolean account string send_at string subject string in_reply_to string
list_scheduled
annotations: none low

List scheduled emails. Shows pending, sent, or all scheduled emails.

account string
cancel_scheduled
annotations: none low

Cancel a scheduled email. Removes it from the queue and deletes the associated draft.

schedule_id string
download_attachment
annotations: none low

Download an email attachment by filename. First use get_email to see available attachments and their filenames. Returns base64-encoded content for files ≤5MB.

id string account string mailbox string filename string
get_thread
annotations: none low

Reconstruct a full email conversation thread by following References and In-Reply-To headers.

account string mailbox string message_id string
check_health
annotations: none low

Check connection health, quota, and capabilities for email accounts. Useful for diagnosing issues.

account string
list_mailboxes
annotations: none low

List all mailbox folders for an account with unread counts and special-use flags. Use list_accounts first to get the account name.

account string
bulk_action
annotations: none low

Batch operation on multiple emails by UID list. Supports mark_read, mark_unread, flag, unflag, move, and delete. Max 100 IDs per call. Returns success/failure counts.

account string mailbox string
extract_contacts
annotations: none low

Extract unique contacts from recent email headers. Returns contacts sorted by frequency (most frequent first). Useful for finding frequent correspondents or building an address book.

account string mailbox string
send_email
annotations: none low

Send a new email. Supports plain text or HTML body, CC, and BCC.

body string html boolean account string subject string
reply_email
annotations: none low

Reply to an email with proper threading (In-Reply-To & References headers). Use get_email first to read the original.

body string html boolean account string emailId string mailbox string replyAll boolean
forward_email
annotations: none low

Forward an email to new recipients with optional additional message. Original email is quoted below.

body string account string emailId string mailbox string
find_email_folder
annotations: none low

Find which real mailbox folder(s) an email belongs to.

account string emailId string
get_watcher_status
annotations: none low

Get the status of IMAP IDLE watcher connections and recent activity.

list_presets
annotations: none low

List all available AI triage presets with their descriptions and suggested labels.

get_hooks_config
annotations: none low

Get the current AI hooks configuration including preset, rules, and custom instructions.

check_notification_setup
annotations: none low

Diagnose desktop notification support on this platform.

test_notification
annotations: none low

Send a test desktop notification to verify that OS permissions are correctly configured.

sound boolean
configure_alerts
annotations: none low

Update alert/notification settings at runtime. Changes take effect immediately.

sound boolean desktop boolean
create_mailbox
annotations: none low

Create a new mailbox (folder). Use

account string
rename_mailbox
annotations: none low

Rename an existing mailbox (folder). Use list_mailboxes to see current folder paths.

path string account string new_path string
delete_mailbox
annotations: none low

⚠️ DESTRUCTIVE: Permanently delete a mailbox and ALL its contents. This cannot be undone. Use list_mailboxes to verify the folder path.

path string account string
list_templates
annotations: none low

List all available email templates. Templates are TOML files in ~/.config/email-mcp/templates/ with {{variable}} placeholders for subject and body.

apply_template
annotations: none low

Apply an email template with variable substitution. Use action

account string template string
list_labels
annotations: none low

List available labels for an email account.

account string
add_label
annotations: none low

Add a label to an email.

label string account string emailId string mailbox string
remove_label
annotations: none low

Remove a label from an email. For ProtonMail, this removes the email from the label folder.

label string account string emailId string mailbox string
create_label
annotations: none low

Create a new label. For ProtonMail, creates a folder under Labels/.

account string
delete_label
annotations: none low

Delete a label. For ProtonMail, deletes the label folder.

name string account string
list_emails
annotations: none low

List emails in a mailbox with optional filters. Returns paginated results with metadata

from string page number seen boolean since string before string account string flagged boolean mailbox string subject string answered boolean pageSize number
get_email
annotations: none low

Get the full content of a specific email by ID.

account string emailId string mailbox string
get_emails
annotations: none low

Fetch the full content of multiple emails in a single call (max 20).

account string mailbox string
get_email_status
annotations: none low

Get the current read/flag/label state of an email without fetching its body.

account string emailId string mailbox string
search_emails
annotations: none low

Search emails by keyword across subject, sender, and body.

to string page number account string mailbox string answered boolean pageSize number larger_than number smaller_than number
extract_calendar
annotations: none low

Extract calendar events (ICS/iCalendar) from an email. Returns structured event data including time, location, attendees, and status.

account string mailbox string email_id string
save_draft
annotations: none low

Save an email draft to the Drafts folder. Compose over time, then use send_draft to send it. Use list_emails with the Drafts mailbox to see saved drafts.

body string html boolean account string subject string in_reply_to string
send_draft
annotations: none low

Send an existing draft email and remove it from Drafts. The draft is fetched, sent via SMTP, then deleted. Use list_emails with the Drafts mailbox to find draft IDs.

id number account string mailbox string
move_email
annotations: none low

Move an email to a different mailbox folder.

account string emailId string sourceMailbox string
delete_email
annotations: none low

Delete an email. By default moves to Trash. Set permanent=true for permanent deletion (⚠️ irreversible).

account string emailId string mailbox string permanent boolean
mark_email
annotations: none low

Change email flags — mark as read/unread, flag/unflag. Idempotent: marking an already-read email as read is a no-op.

id string account string mailbox string
list_accounts
annotations: none low

List all configured email accounts. Call this first to discover available account names for use with other tools.

Permissions 4

shell high
Server uses shell capabilities via: child_process, execSync()
env_vars low
Server uses env_vars capabilities via: process.env
network medium
Server uses network capabilities via: fetch()
filesystem low
Server uses filesystem capabilities via: fs/promises, path

Scan Findings 112

low
Tool 'apply_template' has no annotations annotation_checker · 100%
low
Tool 'list_labels' has no annotations annotation_checker · 100%
low
Tool 'add_label' has no annotations annotation_checker · 100%
low
Tool 'get_email_stats' has no annotations annotation_checker · 100%
low
Tool 'schedule_email' has no annotations annotation_checker · 100%
low
Tool 'list_scheduled' has no annotations annotation_checker · 100%
low
Tool 'cancel_scheduled' has no annotations annotation_checker · 100%
low
Tool 'download_attachment' has no annotations annotation_checker · 100%
low
Tool 'get_thread' has no annotations annotation_checker · 100%
low
Tool 'check_health' has no annotations annotation_checker · 100%
low
Tool 'list_mailboxes' has no annotations annotation_checker · 100%
low
Tool 'bulk_action' has no annotations annotation_checker · 100%
low
Tool 'extract_contacts' has no annotations annotation_checker · 100%
low
Tool 'send_email' has no annotations annotation_checker · 100%
low
Tool 'reply_email' has no annotations annotation_checker · 100%
low
Tool 'forward_email' has no annotations annotation_checker · 100%
low
Tool 'find_email_folder' has no annotations annotation_checker · 100%
low
Tool 'get_watcher_status' has no annotations annotation_checker · 100%
low
Tool 'list_presets' has no annotations annotation_checker · 100%
low
Tool 'get_hooks_config' has no annotations annotation_checker · 100%
low
Tool 'check_notification_setup' has no annotations annotation_checker · 100%
low
Tool 'test_notification' has no annotations annotation_checker · 100%
low
Tool 'configure_alerts' has no annotations annotation_checker · 100%
low
Tool 'create_mailbox' has no annotations annotation_checker · 100%
low
Tool 'rename_mailbox' has no annotations annotation_checker · 100%
low
Tool 'delete_mailbox' has no annotations annotation_checker · 100%
low
Tool 'list_templates' has no annotations annotation_checker · 100%
low
Tool 'remove_label' has no annotations annotation_checker · 100%
low
Tool 'create_label' has no annotations annotation_checker · 100%
low
Tool 'delete_label' has no annotations annotation_checker · 100%
low
Tool 'list_emails' has no annotations annotation_checker · 100%
low
Tool 'get_email' has no annotations annotation_checker · 100%
low
Tool 'get_emails' has no annotations annotation_checker · 100%
low
Tool 'get_email_status' has no annotations annotation_checker · 100%
low
Tool 'search_emails' has no annotations annotation_checker · 100%
low
Tool 'extract_calendar' has no annotations annotation_checker · 100%
low
Tool 'save_draft' has no annotations annotation_checker · 100%
low
Tool 'send_draft' has no annotations annotation_checker · 100%
low
Tool 'move_email' has no annotations annotation_checker · 100%
low
Tool 'delete_email' has no annotations annotation_checker · 100%
low
Tool 'mark_email' has no annotations annotation_checker · 100%
low
Tool 'list_accounts' has no annotations annotation_checker · 100%
medium
OAuth implementation without PKCE auth_checker · 75%
info
Sandbox failed to start for behavioral verification behavioral_verifier · 100%
medium
Vulnerable dependency: nodemailer@8.0.1 (GHSA-268h-hp4c-crq3) dependency_analyzer · 95%
medium
Vulnerable dependency: nodemailer@8.0.1 (GHSA-c7w3-x93f-qmm8) dependency_analyzer · 95%
medium
Vulnerable dependency: nodemailer@8.0.1 (GHSA-p6gq-j5cr-w38f) dependency_analyzer · 95%
medium
Vulnerable dependency: nodemailer@8.0.1 (GHSA-r7g4-qg5f-qqm2) dependency_analyzer · 95%
medium
Vulnerable dependency: nodemailer@8.0.1 (GHSA-vvjj-xcjg-gr5g) dependency_analyzer · 95%
medium
Vulnerable dependency: nodemailer@8.0.1 (GHSA-wqvq-jvpq-h66f) dependency_analyzer · 95%
medium
Vulnerable dependency: smol-toml@1.6.0 (GHSA-v3rj-xjv7-4jmq) dependency_analyzer · 95%
medium
Vulnerable dependency: vitest@4.0.18 (GHSA-5xrq-8626-4rwp) dependency_analyzer · 95%
medium
Buffer.from base64 in codefuturist-email-mcp-99ce431/src/__integration__/email-advanced.integration.test.ts:50 entropy_analyzer · 75%
medium
Buffer.from base64 in codefuturist-email-mcp-99ce431/src/services/imap.service.ts:1251 entropy_analyzer · 75%
info
package.json metadata manifest_parser · 100%
info
Tool: get_email_stats manifest_parser · 70%
info
Tool: schedule_email manifest_parser · 70%
info
Tool: list_scheduled manifest_parser · 70%
info
Tool: cancel_scheduled manifest_parser · 70%
info
Tool: download_attachment manifest_parser · 70%
info
Tool: get_thread manifest_parser · 70%
info
Tool: check_health manifest_parser · 70%
info
Tool: list_mailboxes manifest_parser · 70%
info
Tool: bulk_action manifest_parser · 70%
info
Tool: extract_contacts manifest_parser · 70%
info
Tool: send_email manifest_parser · 70%
info
Tool: reply_email manifest_parser · 70%
info
Tool: forward_email manifest_parser · 70%
info
Tool: find_email_folder manifest_parser · 70%
info
Tool: get_watcher_status manifest_parser · 70%
info
Tool: list_presets manifest_parser · 70%
info
Tool: get_hooks_config manifest_parser · 70%
info
Tool: check_notification_setup manifest_parser · 70%
info
Tool: test_notification manifest_parser · 70%
info
Tool: configure_alerts manifest_parser · 70%
info
Tool: create_mailbox manifest_parser · 70%
info
Tool: rename_mailbox manifest_parser · 70%
info
Tool: delete_mailbox manifest_parser · 70%
info
Tool: list_templates manifest_parser · 70%
info
Tool: apply_template manifest_parser · 70%
info
Tool: list_labels manifest_parser · 70%
info
Tool: add_label manifest_parser · 70%
info
Tool: remove_label manifest_parser · 70%
info
Tool: create_label manifest_parser · 70%
info
Tool: delete_label manifest_parser · 70%
info
Tool: list_emails manifest_parser · 70%
info
Tool: get_email manifest_parser · 70%
info
Tool: get_emails manifest_parser · 70%
info
Tool: get_email_status manifest_parser · 70%
info
Tool: search_emails manifest_parser · 70%
info
Tool: extract_calendar manifest_parser · 70%
info
Tool: save_draft manifest_parser · 70%
info
Tool: send_draft manifest_parser · 70%
info
Tool: move_email manifest_parser · 70%
info
Tool: delete_email manifest_parser · 70%
info
Tool: mark_email manifest_parser · 70%
info
Tool: list_accounts manifest_parser · 70%
info
Transport: stdio manifest_parser · 90%
info
Required env vars (45) manifest_parser · 80%
medium
OAuth authorization code flow without PKCE oauth_scope_analyzer · 75%
info
Sandbox failed to start for output poisoning scan output_poisoning · 100%
medium
Permission: network access detected permission_analyzer · 70%
low
Permission: filesystem access detected permission_analyzer · 90%
high
Permission: shell access detected permission_analyzer · 95%
low
Permission: env_vars access detected permission_analyzer · 90%
critical
Tool poisoning in 'download_attachment': Cross-tool prerequisite: 'first call/use' poisoning · 85%
critical
Invisible Unicode characters in 'delete_mailbox' poisoning · 92%
critical
Invisible Unicode characters in 'delete_email' poisoning · 92%
info
SBOM generated: 705 components sbom_generator · 100%
high
Hardcoded Password found in codefuturist-email-mcp-99ce431/README.md secret_scanner · 65%
high
Hardcoded Password found in codefuturist-email-mcp-99ce431/src/config/loader.ts secret_scanner · 65%
medium
No build provenance detected (SLSA L0) slsa_assessor · 90%