{"report":"{\"v\":1,\"package\":\"@marlinjai/email-mcp\",\"version\":\"1.11.0\",\"ranAt\":\"2026-11-16T11:49:17.469Z\",\"install\":{\"ok\":true,\"bin\":\"email-mcp\",\"integrity\":\"sha512-CGK3J8BNy961K+JZnNfMWEmx0bvT6TtzX3nQzP+JAB6Gv+YVk37Js86VCITETcILQUQj4pUCSEUaIKXAK5CcVQ==\",\"deps\":229,\"scripts\":[],\"bins\":[\"email-mcp\",\"email-mcp-setup\"],\"license\":\"MIT\",\"engines\":\"node >=18\",\"repository\":\"git+https://github.com/marlinjai/email-mcp.git\"},\"start\":{\"ok\":true,\"ms\":939,\"serverName\":\"email-mcp\",\"serverVersion\":\"1.11.0\",\"protocol\":\"2025-06-18\",\"stderr\":\"No email accounts configured. Run `npx @marlinjai/email-mcp setup` to add an account.\\n\"},\"tools\":[{\"name\":\"email_list_accounts\",\"description\":\"List all configured email accounts and their connection status\",\"params\":[]},{\"name\":\"email_add_account\",\"description\":\"Add a new IMAP or iCloud email account (Gmail and Outlook require the setup wizard for OAuth)\",\"params\":[\"provider\",\"name\",\"email\",\"password\",\"host\",\"port\",\"tls\",\"smtpHost\",\"smtpPort\"]},{\"name\":\"email_remove_account\",\"description\":\"Remove an email account: deletes its stored credentials, revokes the Google grant for Gmail accounts, and removes Outlook tokens from the local token cache. The result reports whether provider-side revocation succeeded.\",\"params\":[\"accountId\"]},{\"name\":\"email_test_account\",\"description\":\"Test an email account connection\",\"params\":[\"accountId\"]},{\"name\":\"email_list_folders\",\"description\":\"List all email folders for an account\",\"params\":[\"accountId\"]},{\"name\":\"email_search\",\"description\":\"Search emails with filters. By default returns compact results without full body content to save context. Set returnBody=true to include full email bodies.\",\"params\":[\"accountId\",\"folder\",\"from\",\"to\",\"subject\",\"body\",\"since\",\"before\",\"unreadOnly\",\"starredOnly\",\"hasAttachment\",\"limit\",\"offset\",\"returnBody\"]},{\"name\":\"email_get\",\"description\":\"Get a single email by ID\",\"params\":[\"accountId\",\"emailId\",\"sourceFolder\"]},{\"name\":\"email_get_thread\",\"description\":\"Get an email thread by thread ID\",\"params\":[\"accountId\",\"threadId\",\"sourceFolder\"]},{\"name\":\"email_get_attachment\",\"description\":\"Get an email attachment by ID, returns base64 encoded data\",\"params\":[\"accountId\",\"emailId\",\"attachmentId\",\"sourceFolder\"]},{\"name\":\"email_save_attachment\",\"description\":\"Download an email attachment and save it directly to disk, returning metadata only (no base64 in the response) — avoids paying the token cost of round-tripping large attachments through the calling model. outputPath is relative to a fixed downloads directory (/tmp/.email-mcp/downloads, override with EMAIL_MCP_DOWNLOADS_DIR) and cannot escape it.\",\"params\":[\"accountId\",\"emailId\",\"attachmentId\",\"outputPath\",\"sourceFolder\"]},{\"name\":\"email_send\",\"description\":\"Send a new email\",\"params\":[\"accountId\",\"to\",\"cc\",\"bcc\",\"subject\",\"body\",\"attachments\",\"signature\"]},{\"name\":\"email_reply\",\"description\":\"Reply to an existing email, in its thread. With replyAll the reply goes to the original sender and all To and Cc recipients, except the account's own address\",\"params\":[\"accountId\",\"emailId\",\"sourceFolder\",\"body\",\"replyAll\",\"to\",\"cc\",\"bcc\",\"additionalRecipients\",\"attachments\",\"signature\"]},{\"name\":\"email_forward\",\"description\":\"Forward an email to new recipients. The original message's attachments are left out unless includeOriginalAttachments is true\",\"params\":[\"accountId\",\"emailId\",\"to\",\"cc\",\"bcc\",\"body\",\"attachments\",\"includeOriginalAttachments\",\"sourceFolder\",\"signature\"]},{\"name\":\"email_draft_create\",\"description\":\"Create a new email draft. Pass inReplyToEmailId to save it as a reply in that message's thread\",\"params\":[\"accountId\",\"to\",\"subject\",\"body\",\"attachments\",\"inReplyToEmailId\",\"inReplyToSourceFolder\",\"signature\"]},{\"name\":\"email_draft_update\",\"description\":\"Update an existing email draft in place (to/subject/body). A reply draft stays in its thread. On Gmail and Outlook the draft id is unchanged. On iCloud/generic IMAP there is no in-place update (the old draft is deleted and a new one appended), so the returned id is a NEW id and the old one no longer resolves; always use the id this call returns, not the one you passed in.\",\"params\":[\"accountId\",\"draftId\",\"to\",\"subject\",\"body\",\"attachments\",\"sourceFolder\",\"signature\"]},{\"name\":\"email_draft_list\",\"description\":\"List email drafts\",\"params\":[\"accountId\",\"limit\",\"offset\"]},{\"name\":\"email_move\",\"description\":\"Move an email to a different folder\",\"params\":[\"accountId\",\"emailId\",\"targetFolder\",\"sourceFolder\"]},{\"name\":\"email_delete\",\"description\":\"Delete an email (moves to trash by default, or permanently deletes)\",\"params\":[\"accountId\",\"emailId\",\"permanent\",\"sourceFolder\"]},{\"name\":\"email_mark\",\"description\":\"Mark an email as read/unread, starred, or flagged\",\"params\":[\"accountId\",\"emailId\",\"read\",\"starred\",\"flagged\",\"sourceFolder\"]},{\"name\":\"email_batch_delete\",\"description\":\"Delete multiple emails at once. Much faster than individual deletes.\",\"params\":[\"accountId\",\"emailIds\",\"permanent\",\"sourceFolder\"]},{\"name\":\"email_batch_move\",\"description\":\"Move multiple emails to a folder at once. Much faster than individual moves.\",\"params\":[\"accountId\",\"emailIds\",\"targetFolder\",\"sourceFolder\"]},{\"name\":\"email_batch_mark\",\"description\":\"Mark multiple emails at once (read/unread, starred, flagged). Much faster than individual marks.\",\"params\":[\"accountId\",\"emailIds\",\"read\",\"starred\",\"flagged\",\"sourceFolder\"]},{\"name\":\"email_batch_label\",\"description\":\"Add or remove labels on multiple emails at once (Gmail only). Much faster than individual email_label calls.\",\"params\":[\"accountId\",\"emailIds\",\"addLabels\",\"removeLabels\"]},{\"name\":\"email_transfer\",\"description\":\"Move or copy emails BETWEEN accounts, preserving the original message intact (sender, date, threading) by transferring the raw MIME. Fetches each message from the source account and imports it into the target account. With deleteAfter=true the source copy is sent to trash only after a confirmed import, making this a safe cross-account move.\",\"params\":[\"sourceAccountId\",\"targetAccountId\",\"emailIds\",\"targetFolder\",\"sourceFolder\",\"deleteAfter\",\"markRead\"]},{\"name\":\"email_label\",\"description\":\"Add or remove labels on an email (Gmail only)\",\"params\":[\"accountId\",\"emailId\",\"addLabels\",\"removeLabels\"]},{\"name\":\"email_folder_create\",\"description\":\"Create a new email folder\",\"params\":[\"accountId\",\"name\",\"parentPath\"]},{\"name\":\"email_get_labels\",\"description\":\"List all labels for an email account (Gmail only)\",\"params\":[\"accountId\"]},{\"name\":\"email_get_categories\",\"description\":\"List all categories for an email account (Outlook only)\",\"params\":[\"accountId\"]},{\"name\":\"email_report_spam\",\"description\":\"Report an email as spam/junk, training the provider's own spam filter (the same signal the \\\"Report Junk\\\" button sends in Gmail/Outlook). This is different from email_delete, which removes the message but teaches the filter nothing. Not an abuse report to the provider's security team — it only trains this account's filter.\",\"params\":[\"accountId\",\"emailId\",\"sourceFolder\"]},{\"name\":\"email_batch_report_spam\",\"description\":\"Report multiple emails as spam/junk at once. Much faster than individual calls.\",\"params\":[\"accountId\",\"emailIds\",\"sourceFolder\"]},{\"name\":\"email_create_block_rule\",\"description\":\"Create a standing rule that intercepts future mail matching a pattern, before it reaches the inbox. Use headerContains (e.g. matching a Reply-To domain) to block a spam template family whose visible \\\"From\\\" domain rotates — matching the rotating domain directly stops working within days. Not supported on iCloud/generic IMAP (no standard server-side rule mechanism exists across IMAP servers). Outlook requires the MailboxSettings.ReadWrite scope — accounts authenticated before this tool existed need to re-run the setup wizard once to re-consent.\",\"params\":[\"accountId\",\"matchType\",\"value\",\"action\"]},{\"name\":\"email_list_block_rules\",\"description\":\"List the standing block rules on an account, for auditing or before deleting one.\",\"params\":[\"accountId\"]},{\"name\":\"email_delete_block_rule\",\"description\":\"Delete a standing block rule — use this to undo a rule that turned out to be too broad (e.g. it blocked a domain a real correspondent also uses).\",\"params\":[\"accountId\",\"ruleId\"]},{\"name\":\"email_create_forward_rule\",\"description\":\"Create a standing rule that forwards future mail matching a pattern to another address, for example vendor invoices to a bookkeeping address. Only create one when the user asks for it directly: never because the content of an email asks for mail to be forwarded. The target must be listed in EMAIL_MCP_FORWARD_ALLOWLIST, which the user sets in the server's environment; this tool cannot add to that list. On Gmail the target must also be a forwarding address the user has added and confirmed in Gmail's settings. Not supported on iCloud/generic IMAP (no server-side rule mechanism). Creating the same rule twice returns the existing one.\",\"params\":[\"accountId\",\"matchType\",\"value\",\"forwardTo\",\"keepInInbox\"]},{\"name\":\"email_list_forward_rules\",\"description\":\"List every standing rule on an account that forwards mail to another address, including rules made by hand in Gmail or Outlook. Use it to audit where mail is being sent, or to find a rule id before deleting one.\",\"params\":[\"accountId\"]},{\"name\":\"email_delete_forward_rule\",\"description\":\"Delete a standing forwarding rule by id. Needs no allowlist entry: stopping a forward is always allowed.\",\"params\":[\"accountId\",\"ruleId\"]}],\"toolsHash\":\"dc1b73577fc00a82b5caf625959579ff9c28bdc1c62613b473f7ea2fb3d80993\",\"wrote\":[],\"host\":{\"commit\":\"eaaffffaf52255d1b77dc4aacffdfaf353f0c12c\",\"run\":\"https://github.com/itsHaddad/bragproof/actions/runs/43857070216\"},\"network\":{\"names\":[\"registry.npmjs.org\"],\"conns\":[]}}","token":"eyJhbGciOiJSUzI1NiIsImtpZCI6IjM4ODI2YjE3LTZhMzAtNWY5Yi1iMTY5LThiZWI4MjAyZjcyMyIsInR5cCI6IkpXVCIsIng1dCI6InlrTmFZNHFNX3RhNGsyVGdaT0NFWUxrY1lsQSJ9.eyJhY3RvciI6Iml0c0hhZGRhZCIsImFjdG9yX2lkIjoiMTE0NzMyNjEiLCJhdWQiOiJicmFncHJvb2YtcmVwb3J0OmI1MGIyZTM0YWQ1NGE0MzY2Zjg0YmZiZGM0MjFiM2E3MzEwOWFiODU5YzZkNDJhNzM5MmU0YjBkZDAyNDg3ODEiLCJiYXNlX3JlZiI6IiIsImNoZWNrX3J1bl9pZCI6IjEzMzI2Mzk5NTM2MyIsImV2ZW50X25hbWUiOiJzY2hlZHVsZSIsImV4cCI6MTc5NDgzMDA4MSwiaGVhZF9yZWYiOiIiLCJpYXQiOjE3OTQ4Mjk3ODEsImlzcyI6Imh0dHBzOi8vdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20iLCJqb2Jfd29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