{"at":"2026-11-23T03:26:57.709Z","dir":"sent","era":"server_discover","message":{"id":1,"jsonrpc":"2.0","method":"server/discover","params":{"_meta":{"io.modelcontextprotocol/clientCapabilities":{},"io.modelcontextprotocol/clientInfo":{"name":"didrun-lab","version":"0.1.0"},"io.modelcontextprotocol/protocolVersion":"2026-07-28"}}}}
{"at":"2026-11-23T03:26:59.050Z","dir":"received","era":"server_discover","message":{"id":1,"jsonrpc":"2.0","result":{"_meta":{"io.modelcontextprotocol/serverInfo":{"name":"email-tool","version":"5.6.0"}},"cacheScope":"private","capabilities":{"prompts":{"listChanged":true},"resources":{"listChanged":true,"subscribe":true},"tools":{"listChanged":true}},"instructions":"IMAP/SMTP email. Call list_mailboxes first when more than one mailbox may exist. Never send or delete without the user's explicit confirmation of the exact message.","resultType":"complete","supportedVersions":["2026-07-28"],"ttlMs":0}}}
{"at":"2026-11-23T03:26:59.050Z","dir":"sent","era":"server_discover","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{"_meta":{"io.modelcontextprotocol/clientCapabilities":{},"io.modelcontextprotocol/protocolVersion":"2026-07-28"}}}}
{"at":"2026-11-23T03:26:59.052Z","dir":"received","era":"server_discover","message":{"id":2,"jsonrpc":"2.0","result":{"_meta":{"io.modelcontextprotocol/serverInfo":{"name":"email-tool","version":"5.6.0"}},"cacheScope":"private","resultType":"complete","tools":[{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"List the mailboxes configured on this machine and whether each can log in.","inputSchema":{"properties":{},"title":"list_mailboxesArguments","type":"object"},"name":"list_mailboxes"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"List every folder in the mailbox.","inputSchema":{"properties":{"mailbox":{"default":"","description":"Mailbox to use, as listed by list_mailboxes. Leave empty when only one is configured.","title":"Mailbox","type":"string"}},"title":"list_foldersArguments","type":"object"},"name":"list_folders"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"List the newest messages in a folder, newest first.","inputSchema":{"properties":{"folder":{"default":"INBOX","description":"Folder name as shown by list_folders, for example INBOX.","title":"Folder","type":"string"},"limit":{"default":20,"description":"How many messages to return, newest first.","maximum":200,"minimum":1,"title":"Limit","type":"integer"},"mailbox":{"default":"","description":"Mailbox to use, as listed by list_mailboxes. Leave empty when only one is configured.","title":"Mailbox","type":"string"}},"title":"list_emailsArguments","type":"object"},"name":"list_emails"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Search a folder by sender, subject, body text or date (since, as DD-Mon-YYYY).\n\nOn Gmail, `gmail_query` takes Gmail's own search syntax instead; other servers ignore it.\nSupply at least one field.\n","inputSchema":{"properties":{"body":{"default":"","title":"Body","type":"string"},"folder":{"default":"INBOX","description":"Folder name as shown by list_folders, for example INBOX.","title":"Folder","type":"string"},"gmail_query":{"default":"","title":"Gmail Query","type":"string"},"limit":{"default":20,"description":"How many messages to return, newest first.","maximum":200,"minimum":1,"title":"Limit","type":"integer"},"mailbox":{"default":"","description":"Mailbox to use, as listed by list_mailboxes. Leave empty when only one is configured.","title":"Mailbox","type":"string"},"sender":{"default":"","title":"Sender","type":"string"},"since":{"default":"","title":"Since","type":"string"},"subject":{"default":"","title":"Subject","type":"string"}},"title":"search_emailsArguments","type":"object"},"name":"search_emails"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Read one message in full by UID. Does not mark it as read.","inputSchema":{"properties":{"folder":{"default":"INBOX","description":"Folder name as shown by list_folders, for example INBOX.","title":"Folder","type":"string"},"mailbox":{"default":"","description":"Mailbox to use, as listed by list_mailboxes. Leave empty when only one is configured.","title":"Mailbox","type":"string"},"uid":{"description":"UID of the message, as shown in listings.","title":"Uid","type":"integer"}},"required":["uid"],"title":"get_emailArguments","type":"object"},"name":"get_email"},{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Save one attachment of a message into a folder the user names. The file is never opened.\n\nA relative folder is taken from the user's home (\"Downloads\" is ~/Downloads). Saving\ninto a place where a file can run (autostart, .ssh, ...) asks the user first.\n","inputSchema":{"properties":{"confirm_sensitive":{"default":"","description":"The code from an earlier refusal that named sensitive attachments or a risky place to save. Pass it only after the user, in this conversation, agreed to go ahead. Leave empty otherwise.","title":"Confirm Sensitive","type":"string"},"directory":{"description":"Folder to save into, as the user named it; created if missing.","title":"Directory","type":"string"},"folder":{"default":"INBOX","description":"Folder name as shown by list_folders, for example INBOX.","title":"Folder","type":"string"},"index":{"description":"Number of the attachment, as listed by get_email (1 for the first).","minimum":1,"title":"Index","type":"integer"},"mailbox":{"default":"","description":"Mailbox to use, as listed by list_mailboxes. Leave empty when only one is configured.","title":"Mailbox","type":"string"},"uid":{"description":"UID of the message, as shown in listings.","title":"Uid","type":"integer"}},"required":["uid","index","directory"],"title":"save_attachmentArguments","type":"object"},"name":"save_attachment"},{"annotations":{"destructiveHint":true,"openWorldHint":false,"readOnlyHint":false},"description":"Permanently delete one message by UID. This cannot be undone.","inputSchema":{"properties":{"folder":{"description":"Folder name as shown by list_folders, for example INBOX.","title":"Folder","type":"string"},"mailbox":{"default":"","description":"Mailbox to use, as listed by list_mailboxes. Leave empty when only one is configured.","title":"Mailbox","type":"string"},"uid":{"description":"UID of the message, as shown in listings.","title":"Uid","type":"integer"}},"required":["uid","folder"],"title":"delete_emailArguments","type":"object"},"name":"delete_email"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Save a new draft into the drafts folder, with any attachments. Does not send it.\n\nFor a reply, `in_reply_to_uid` names the message answered, so the draft joins its conversation.\n","inputSchema":{"properties":{"attachments":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"default":null,"description":"Paths of files to attach, from any folder the user named. Up to 25 MB in total.","title":"Attachments"},"body":{"default":"","description":"Plain text body; the fallback when `html` is also given.","title":"Body","type":"string"},"cc":{"default":"","description":"Comma-separated Cc addresses.","title":"Cc","type":"string"},"folder":{"description":"Drafts folder, for example '[Gmail]/Drafts' or 'INBOX.Drafts'.","title":"Folder","type":"string"},"html":{"default":"","description":"Optional HTML body for links and formatting, sent alongside `body`.","title":"Html","type":"string"},"in_reply_to_folder":{"default":"INBOX","description":"Folder holding the message named by in_reply_to_uid.","title":"In Reply To Folder","type":"string"},"in_reply_to_uid":{"default":0,"description":"UID of the message this one answers, so it joins that conversation. 0 when it is not a reply.","minimum":0,"title":"In Reply To Uid","type":"integer"},"mailbox":{"default":"","description":"Mailbox to use, as listed by list_mailboxes. Leave empty when only one is configured.","title":"Mailbox","type":"string"},"subject":{"default":"","description":"Subject line.","title":"Subject","type":"string"},"to":{"description":"Comma-separated recipient addresses.","title":"To","type":"string"}},"required":["folder","to"],"title":"create_draftArguments","type":"object"},"name":"create_draft"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"List the newest drafts, newest first.","inputSchema":{"properties":{"folder":{"description":"Drafts folder, for example '[Gmail]/Drafts' or 'INBOX.Drafts'.","title":"Folder","type":"string"},"limit":{"default":20,"description":"How many messages to return, newest first.","maximum":200,"minimum":1,"title":"Limit","type":"integer"},"mailbox":{"default":"","description":"Mailbox to use, as listed by list_mailboxes. Leave empty when only one is configured.","title":"Mailbox","type":"string"}},"required":["folder"],"title":"list_draftsArguments","type":"object"},"name":"list_drafts"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Read one draft in full by UID.","inputSchema":{"properties":{"folder":{"description":"Drafts folder, for example '[Gmail]/Drafts' or 'INBOX.Drafts'.","title":"Folder","type":"string"},"mailbox":{"default":"","description":"Mailbox to use, as listed by list_mailboxes. Leave empty when only one is configured.","title":"Mailbox","type":"string"},"uid":{"description":"UID of the message, as shown in listings.","title":"Uid","type":"integer"}},"required":["folder","uid"],"title":"get_draftArguments","type":"object"},"name":"get_draft"},{"annotations":{"destructiveHint":true,"openWorldHint":false,"readOnlyHint":false},"description":"Replace an existing draft with new content and attachments, keyed by UID.\n\nIMAP has no in-place edit: the replacement is stored first, then the original deleted.\nA reply draft stays in its conversation; `in_reply_to_uid` moves it to another one.\n","inputSchema":{"properties":{"attachments":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"default":null,"description":"Paths of files to attach, from any folder the user named. Up to 25 MB in total.","title":"Attachments"},"body":{"default":"","description":"Plain text body; the fallback when `html` is also given.","title":"Body","type":"string"},"cc":{"default":"","description":"Comma-separated Cc addresses.","title":"Cc","type":"string"},"folder":{"description":"Drafts folder, for example '[Gmail]/Drafts' or 'INBOX.Drafts'.","title":"Folder","type":"string"},"html":{"default":"","description":"Optional HTML body for links and formatting, sent alongside `body`.","title":"Html","type":"string"},"in_reply_to_folder":{"default":"INBOX","description":"Folder holding the message named by in_reply_to_uid.","title":"In Reply To Folder","type":"string"},"in_reply_to_uid":{"default":0,"description":"UID of the message this one answers, so it joins that conversation. 0 when it is not a reply.","minimum":0,"title":"In Reply To Uid","type":"integer"},"mailbox":{"default":"","description":"Mailbox to use, as listed by list_mailboxes. Leave empty when only one is configured.","title":"Mailbox","type":"string"},"subject":{"default":"","description":"Subject line.","title":"Subject","type":"string"},"to":{"description":"Comma-separated recipient addresses.","title":"To","type":"string"},"uid":{"description":"UID of the message, as shown in listings.","title":"Uid","type":"integer"}},"required":["folder","uid","to"],"title":"update_draftArguments","type":"object"},"name":"update_draft"},{"annotations":{"destructiveHint":true,"openWorldHint":true,"readOnlyHint":false},"description":"Send an email immediately from this mailbox, with any attachments. This is not reversible.\n\nAttachments that look sensitive (keys, credentials, CUI) are shown to the user to confirm first.\nFor a reply, `in_reply_to_uid` names the message answered, so the reply joins its conversation.\n","inputSchema":{"properties":{"attachments":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"default":null,"description":"Paths of files to attach, from any folder the user named. Up to 25 MB in total.","title":"Attachments"},"body":{"description":"Plain text body; the fallback when `html` is also given.","title":"Body","type":"string"},"cc":{"default":"","description":"Comma-separated Cc addresses.","title":"Cc","type":"string"},"confirm_sensitive":{"default":"","description":"The code from an earlier refusal that named sensitive attachments or a risky place to save. Pass it only after the user, in this conversation, agreed to go ahead. Leave empty otherwise.","title":"Confirm Sensitive","type":"string"},"html":{"default":"","description":"Optional HTML body for links and formatting, sent alongside `body`.","title":"Html","type":"string"},"in_reply_to_folder":{"default":"INBOX","description":"Folder holding the message named by in_reply_to_uid.","title":"In Reply To Folder","type":"string"},"in_reply_to_uid":{"default":0,"description":"UID of the message this one answers, so it joins that conversation. 0 when it is not a reply.","minimum":0,"title":"In Reply To Uid","type":"integer"},"mailbox":{"default":"","description":"Mailbox to use, as listed by list_mailboxes. Leave empty when only one is configured.","title":"Mailbox","type":"string"},"subject":{"description":"Subject line.","title":"Subject","type":"string"},"to":{"description":"Comma-separated recipient addresses.","title":"To","type":"string"}},"required":["to","subject","body"],"title":"send_emailArguments","type":"object"},"name":"send_email"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Open a setup page in the user's browser to add a mailbox: Gmail, Outlook or Microsoft 365, Google\nWorkspace, or any other. The user types any password on that page only; never ask for it in the chat.\nClosing the app's page box can read as \"canceled\" even after a mailbox was added: then call\nlist_mailboxes to see whether it was.\n","inputSchema":{"properties":{},"title":"add_mailboxArguments","type":"object"},"name":"add_mailbox"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Build a problem report for the email-tool maintainer when the user wants to report a problem.\n\nIt holds the versions, the app, the kinds of mailbox and the last few failed calls, with\naddresses, subjects, quoted text, home-folder paths, passwords, tokens and keys removed.\nIt changes nothing and sends nothing; it says how the user can send it.\n","inputSchema":{"properties":{"description":{"description":"What went wrong, in the user's own words, in one to three sentences. Never include message text, subjects, addresses or passwords.","maxLength":2000,"title":"Description","type":"string"}},"required":["description"],"title":"report_problemArguments","type":"object"},"name":"report_problem"},{"annotations":{"destructiveHint":true,"openWorldHint":true,"readOnlyHint":false},"description":"Email a report from report_problem to the email-tool maintainer, from one of the user's mailboxes.\n\nThe user's app always shows them the exact message to approve first. If the app cannot ask,\nnothing is sent: offer the GitHub link from report_problem instead.\n","inputSchema":{"properties":{"mailbox":{"default":"","description":"Mailbox to use, as listed by list_mailboxes. Leave empty when only one is configured.","title":"Mailbox","type":"string"},"report":{"description":"The report exactly as report_problem returned it and the user read it.","maxLength":20000,"title":"Report","type":"string"}},"required":["report"],"title":"email_problem_reportArguments","type":"object"},"name":"email_problem_report"}],"ttlMs":0}}}
{"at":"2026-11-23T03:26:59.253Z","dir":"sent","era":"initialize","message":{"id":1,"jsonrpc":"2.0","method":"initialize","params":{"capabilities":{},"clientInfo":{"name":"didrun-lab","version":"0.1.0"},"protocolVersion":"2025-11-25"}}}
{"at":"2026-11-23T03:27:00.608Z","dir":"received","era":"initialize","message":{"id":1,"jsonrpc":"2.0","result":{"capabilities":{"prompts":{"listChanged":false},"resources":{"listChanged":false,"subscribe":false},"tools":{"listChanged":false}},"instructions":"IMAP/SMTP email. Call list_mailboxes first when more than one mailbox may exist. Never send or delete without the user's explicit confirmation of the exact message.","protocolVersion":"2025-11-25","serverInfo":{"name":"email-tool","version":"5.6.0"}}}}
{"at":"2026-11-23T03:27:00.608Z","dir":"sent","era":"initialize","message":{"jsonrpc":"2.0","method":"notifications/initialized"}}
{"at":"2026-11-23T03:27:00.608Z","dir":"sent","era":"initialize","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{}}}
{"at":"2026-11-23T03:27:00.609Z","dir":"received","era":"initialize","message":{"id":2,"jsonrpc":"2.0","result":{"tools":[{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"List the mailboxes configured on this machine and whether each can log in.","inputSchema":{"properties":{},"title":"list_mailboxesArguments","type":"object"},"name":"list_mailboxes"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"List every folder in the mailbox.","inputSchema":{"properties":{"mailbox":{"default":"","description":"Mailbox to use, as listed by list_mailboxes. Leave empty when only one is configured.","title":"Mailbox","type":"string"}},"title":"list_foldersArguments","type":"object"},"name":"list_folders"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"List the newest messages in a folder, newest first.","inputSchema":{"properties":{"folder":{"default":"INBOX","description":"Folder name as shown by list_folders, for example INBOX.","title":"Folder","type":"string"},"limit":{"default":20,"description":"How many messages to return, newest first.","maximum":200,"minimum":1,"title":"Limit","type":"integer"},"mailbox":{"default":"","description":"Mailbox to use, as listed by list_mailboxes. Leave empty when only one is configured.","title":"Mailbox","type":"string"}},"title":"list_emailsArguments","type":"object"},"name":"list_emails"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Search a folder by sender, subject, body text or date (since, as DD-Mon-YYYY).\n\nOn Gmail, `gmail_query` takes Gmail's own search syntax instead; other servers ignore it.\nSupply at least one field.\n","inputSchema":{"properties":{"body":{"default":"","title":"Body","type":"string"},"folder":{"default":"INBOX","description":"Folder name as shown by list_folders, for example INBOX.","title":"Folder","type":"string"},"gmail_query":{"default":"","title":"Gmail Query","type":"string"},"limit":{"default":20,"description":"How many messages to return, newest first.","maximum":200,"minimum":1,"title":"Limit","type":"integer"},"mailbox":{"default":"","description":"Mailbox to use, as listed by list_mailboxes. Leave empty when only one is configured.","title":"Mailbox","type":"string"},"sender":{"default":"","title":"Sender","type":"string"},"since":{"default":"","title":"Since","type":"string"},"subject":{"default":"","title":"Subject","type":"string"}},"title":"search_emailsArguments","type":"object"},"name":"search_emails"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Read one message in full by UID. Does not mark it as read.","inputSchema":{"properties":{"folder":{"default":"INBOX","description":"Folder name as shown by list_folders, for example INBOX.","title":"Folder","type":"string"},"mailbox":{"default":"","description":"Mailbox to use, as listed by list_mailboxes. Leave empty when only one is configured.","title":"Mailbox","type":"string"},"uid":{"description":"UID of the message, as shown in listings.","title":"Uid","type":"integer"}},"required":["uid"],"title":"get_emailArguments","type":"object"},"name":"get_email"},{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Save one attachment of a message into a folder the user names. The file is never opened.\n\nA relative folder is taken from the user's home (\"Downloads\" is ~/Downloads). Saving\ninto a place where a file can run (autostart, .ssh, ...) asks the user first.\n","inputSchema":{"properties":{"confirm_sensitive":{"default":"","description":"The code from an earlier refusal that named sensitive attachments or a risky place to save. Pass it only after the user, in this conversation, agreed to go ahead. Leave empty otherwise.","title":"Confirm Sensitive","type":"string"},"directory":{"description":"Folder to save into, as the user named it; created if missing.","title":"Directory","type":"string"},"folder":{"default":"INBOX","description":"Folder name as shown by list_folders, for example INBOX.","title":"Folder","type":"string"},"index":{"description":"Number of the attachment, as listed by get_email (1 for the first).","minimum":1,"title":"Index","type":"integer"},"mailbox":{"default":"","description":"Mailbox to use, as listed by list_mailboxes. Leave empty when only one is configured.","title":"Mailbox","type":"string"},"uid":{"description":"UID of the message, as shown in listings.","title":"Uid","type":"integer"}},"required":["uid","index","directory"],"title":"save_attachmentArguments","type":"object"},"name":"save_attachment"},{"annotations":{"destructiveHint":true,"openWorldHint":false,"readOnlyHint":false},"description":"Permanently delete one message by UID. This cannot be undone.","inputSchema":{"properties":{"folder":{"description":"Folder name as shown by list_folders, for example INBOX.","title":"Folder","type":"string"},"mailbox":{"default":"","description":"Mailbox to use, as listed by list_mailboxes. Leave empty when only one is configured.","title":"Mailbox","type":"string"},"uid":{"description":"UID of the message, as shown in listings.","title":"Uid","type":"integer"}},"required":["uid","folder"],"title":"delete_emailArguments","type":"object"},"name":"delete_email"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Save a new draft into the drafts folder, with any attachments. Does not send it.\n\nFor a reply, `in_reply_to_uid` names the message answered, so the draft joins its conversation.\n","inputSchema":{"properties":{"attachments":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"default":null,"description":"Paths of files to attach, from any folder the user named. Up to 25 MB in total.","title":"Attachments"},"body":{"default":"","description":"Plain text body; the fallback when `html` is also given.","title":"Body","type":"string"},"cc":{"default":"","description":"Comma-separated Cc addresses.","title":"Cc","type":"string"},"folder":{"description":"Drafts folder, for example '[Gmail]/Drafts' or 'INBOX.Drafts'.","title":"Folder","type":"string"},"html":{"default":"","description":"Optional HTML body for links and formatting, sent alongside `body`.","title":"Html","type":"string"},"in_reply_to_folder":{"default":"INBOX","description":"Folder holding the message named by in_reply_to_uid.","title":"In Reply To Folder","type":"string"},"in_reply_to_uid":{"default":0,"description":"UID of the message this one answers, so it joins that conversation. 0 when it is not a reply.","minimum":0,"title":"In Reply To Uid","type":"integer"},"mailbox":{"default":"","description":"Mailbox to use, as listed by list_mailboxes. Leave empty when only one is configured.","title":"Mailbox","type":"string"},"subject":{"default":"","description":"Subject line.","title":"Subject","type":"string"},"to":{"description":"Comma-separated recipient addresses.","title":"To","type":"string"}},"required":["folder","to"],"title":"create_draftArguments","type":"object"},"name":"create_draft"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"List the newest drafts, newest first.","inputSchema":{"properties":{"folder":{"description":"Drafts folder, for example '[Gmail]/Drafts' or 'INBOX.Drafts'.","title":"Folder","type":"string"},"limit":{"default":20,"description":"How many messages to return, newest first.","maximum":200,"minimum":1,"title":"Limit","type":"integer"},"mailbox":{"default":"","description":"Mailbox to use, as listed by list_mailboxes. Leave empty when only one is configured.","title":"Mailbox","type":"string"}},"required":["folder"],"title":"list_draftsArguments","type":"object"},"name":"list_drafts"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Read one draft in full by UID.","inputSchema":{"properties":{"folder":{"description":"Drafts folder, for example '[Gmail]/Drafts' or 'INBOX.Drafts'.","title":"Folder","type":"string"},"mailbox":{"default":"","description":"Mailbox to use, as listed by list_mailboxes. Leave empty when only one is configured.","title":"Mailbox","type":"string"},"uid":{"description":"UID of the message, as shown in listings.","title":"Uid","type":"integer"}},"required":["folder","uid"],"title":"get_draftArguments","type":"object"},"name":"get_draft"},{"annotations":{"destructiveHint":true,"openWorldHint":false,"readOnlyHint":false},"description":"Replace an existing draft with new content and attachments, keyed by UID.\n\nIMAP has no in-place edit: the replacement is stored first, then the original deleted.\nA reply draft stays in its conversation; `in_reply_to_uid` moves it to another one.\n","inputSchema":{"properties":{"attachments":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"default":null,"description":"Paths of files to attach, from any folder the user named. Up to 25 MB in total.","title":"Attachments"},"body":{"default":"","description":"Plain text body; the fallback when `html` is also given.","title":"Body","type":"string"},"cc":{"default":"","description":"Comma-separated Cc addresses.","title":"Cc","type":"string"},"folder":{"description":"Drafts folder, for example '[Gmail]/Drafts' or 'INBOX.Drafts'.","title":"Folder","type":"string"},"html":{"default":"","description":"Optional HTML body for links and formatting, sent alongside `body`.","title":"Html","type":"string"},"in_reply_to_folder":{"default":"INBOX","description":"Folder holding the message named by in_reply_to_uid.","title":"In Reply To Folder","type":"string"},"in_reply_to_uid":{"default":0,"description":"UID of the message this one answers, so it joins that conversation. 0 when it is not a reply.","minimum":0,"title":"In Reply To Uid","type":"integer"},"mailbox":{"default":"","description":"Mailbox to use, as listed by list_mailboxes. Leave empty when only one is configured.","title":"Mailbox","type":"string"},"subject":{"default":"","description":"Subject line.","title":"Subject","type":"string"},"to":{"description":"Comma-separated recipient addresses.","title":"To","type":"string"},"uid":{"description":"UID of the message, as shown in listings.","title":"Uid","type":"integer"}},"required":["folder","uid","to"],"title":"update_draftArguments","type":"object"},"name":"update_draft"},{"annotations":{"destructiveHint":true,"openWorldHint":true,"readOnlyHint":false},"description":"Send an email immediately from this mailbox, with any attachments. This is not reversible.\n\nAttachments that look sensitive (keys, credentials, CUI) are shown to the user to confirm first.\nFor a reply, `in_reply_to_uid` names the message answered, so the reply joins its conversation.\n","inputSchema":{"properties":{"attachments":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"default":null,"description":"Paths of files to attach, from any folder the user named. Up to 25 MB in total.","title":"Attachments"},"body":{"description":"Plain text body; the fallback when `html` is also given.","title":"Body","type":"string"},"cc":{"default":"","description":"Comma-separated Cc addresses.","title":"Cc","type":"string"},"confirm_sensitive":{"default":"","description":"The code from an earlier refusal that named sensitive attachments or a risky place to save. Pass it only after the user, in this conversation, agreed to go ahead. Leave empty otherwise.","title":"Confirm Sensitive","type":"string"},"html":{"default":"","description":"Optional HTML body for links and formatting, sent alongside `body`.","title":"Html","type":"string"},"in_reply_to_folder":{"default":"INBOX","description":"Folder holding the message named by in_reply_to_uid.","title":"In Reply To Folder","type":"string"},"in_reply_to_uid":{"default":0,"description":"UID of the message this one answers, so it joins that conversation. 0 when it is not a reply.","minimum":0,"title":"In Reply To Uid","type":"integer"},"mailbox":{"default":"","description":"Mailbox to use, as listed by list_mailboxes. Leave empty when only one is configured.","title":"Mailbox","type":"string"},"subject":{"description":"Subject line.","title":"Subject","type":"string"},"to":{"description":"Comma-separated recipient addresses.","title":"To","type":"string"}},"required":["to","subject","body"],"title":"send_emailArguments","type":"object"},"name":"send_email"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Open a setup page in the user's browser to add a mailbox: Gmail, Outlook or Microsoft 365, Google\nWorkspace, or any other. The user types any password on that page only; never ask for it in the chat.\nClosing the app's page box can read as \"canceled\" even after a mailbox was added: then call\nlist_mailboxes to see whether it was.\n","inputSchema":{"properties":{},"title":"add_mailboxArguments","type":"object"},"name":"add_mailbox"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Build a problem report for the email-tool maintainer when the user wants to report a problem.\n\nIt holds the versions, the app, the kinds of mailbox and the last few failed calls, with\naddresses, subjects, quoted text, home-folder paths, passwords, tokens and keys removed.\nIt changes nothing and sends nothing; it says how the user can send it.\n","inputSchema":{"properties":{"description":{"description":"What went wrong, in the user's own words, in one to three sentences. Never include message text, subjects, addresses or passwords.","maxLength":2000,"title":"Description","type":"string"}},"required":["description"],"title":"report_problemArguments","type":"object"},"name":"report_problem"},{"annotations":{"destructiveHint":true,"openWorldHint":true,"readOnlyHint":false},"description":"Email a report from report_problem to the email-tool maintainer, from one of the user's mailboxes.\n\nThe user's app always shows them the exact message to approve first. If the app cannot ask,\nnothing is sent: offer the GitHub link from report_problem instead.\n","inputSchema":{"properties":{"mailbox":{"default":"","description":"Mailbox to use, as listed by list_mailboxes. Leave empty when only one is configured.","title":"Mailbox","type":"string"},"report":{"description":"The report exactly as report_problem returned it and the user read it.","maxLength":20000,"title":"Report","type":"string"}},"required":["report"],"title":"email_problem_reportArguments","type":"object"},"name":"email_problem_report"}]}}}
