check_connection | Connect to IMAP when needed, actively verify SMTP, then return structured status for both services. |
continue_email_thread | Find the newest sent message with the same normalized subject, optionally narrowed by recipient and date, then continue its thread. Designed for recurring reports; reply-all and quoted history both default to true. params: html, includeOriginal, recipient, replyToAll, signature, since, subject*, text |
delete_message | Permanently delete one existing mailbox-scoped message using targeted UID EXPUNGE. Fails safely when the UID is missing or the IMAP server lacks UIDPLUS, and returns a structured unknown outcome when a transport failure prevents confirmation. params: mailbox*, uid*, uidValidity |
find_unreplied_messages | Find messages from a sender that have no thread-header reply in the sent mailbox. Messages without Message-ID are returned separately as unknown. params: before, limit, mailboxes, sender*, since |
get_message | Retrieve one message, including full bodies and attachment metadata. Set markSeen only when the message should be marked as read. params: mailbox*, markSeen, uid*, uidValidity |
get_messages | Retrieve multiple messages from one mailbox, including full bodies and attachment metadata. Fails if any requested UID is missing or the aggregate response-body budget would be exceeded. params: mailbox*, markSeen, uidValidity, uids* |
list_mailboxes | List all available mailboxes (folders). Auto-connects to IMAP when needed. |
move_message | Move an existing mailbox-scoped message to another existing mailbox. If a move, copy, or source-cleanup outcome cannot be confirmed, returns a structured partial error that must be inspected before retrying. params: mailbox*, targetMailbox*, uid*, uidValidity |
reply_to_email | Reply to a mailbox-scoped message with threading headers, optional reply-all recipients, signature, and quoted original content. params: html, includeOriginal, mailbox*, originalUid*, replyToAll, signature, text, uidValidity |
save_attachment | Save one or all attachments from a mailbox-scoped message into an allowed local directory. If a later write fails, returns the files already saved as a structured partial result. params: attachmentIndex, mailbox*, returnBase64, savePath*, uid*, uidValidity |
search_messages | Search one or more mailboxes with combined filters. Defaults to INBOX and the detected sent mailbox. Returns message summaries unless includeBody is true; full-body hydration fails explicitly if a selected message disappears or the aggregate response-body budget would be exceeded. params: before, body, from, includeBody, keywords, limit, mailboxes, since, subject, to, unread |
send_email | Send a new email via SMTP and try to save a MIME-equivalent copy with the accepted Message-ID to the sent mailbox. params: attachments, bcc, cc, html, signature, subject*, text, to* |