AI apps (MCP)
Mailbox tools
Every tool on the mailbox server. All of them work on the one mailbox you connected.
- 100 tools
- 6 groups
https://g.sendcorex.com/mcp/inboxRead & organize
22mail_whoamiWho am I
Returns which mailbox this credential belongs to and details about the credential itself, without reading any message.
Read onlymail_list_foldersList mailbox folders
Lists every folder of the mailbox: the system folders (INBOX, Sent, Archive, Trash, Drafts, Spam, Promotions, Snoozed, Scheduled, Agents, NotSubscribing) followed by custom folders.
Read onlymail_create_folderCreate custom folder
Creates a custom folder; its id is a slug of the name ("Project X" becomes project-x).
Changes datamail_rename_folderRename custom folder
Renames a custom folder; only the display name changes, the folder id (slug) stays the same.
Changes datamail_delete_folderDelete custom folder
Deletes a custom folder record.
Asks to confirmmail_get_countersGet mailbox counters
Returns mailbox totals and per-folder counts: { total, unread, size_bytes, folders: { <folder>: { total, unread, size_bytes } } }.
Read onlymail_list_threadsList conversations in a folder
Lists conversations (threads) in one folder, newest first: the main way to browse a folder like the webmail does.
Read onlymail_get_threadRead a conversation
Returns a full conversation with all its messages in order: { thread: { thread_id, subject, participants, message_count, unread_count, first_message_at, last_message_at, folders }, messages: [ { message_uid, message_id, in_reply_to, parent_uid, depth, from_name, from_email, to, direction, subject, preview, is_read, is_starred, is_important, has_attachments, received_at, folders, labels, body?
Read onlymail_list_messagesList messages in a folder
Lists individual messages (not grouped by conversation) in one folder, newest first; prefer mail_list_threads for browsing.
Read onlymail_get_messagesGet messages by id
Fetches up to 50 messages by message_uid with full envelope and state (from, to, cc, bcc, reply_to, subject, received_at, sent_at, folders, labels, flags, snoozed_until, agent_score).
Read onlymail_searchSearch the mailbox
Searches the mailbox with Gmail-like operators: from:, to:, cc:, subject:, label:, in:<folder> (inbox, sent, archive, trash, spam, drafts, promotions, snoozed, scheduled, agents or a custom slug), has:attachment, is:unread, is:read, is:starred, is:important, after:/before: (YYYY/MM/DD or YYYY-MM-DD), newer_than:/older_than: (e.g.
Read onlymail_set_flagsSet read, star or important
Sets is_read, is_starred and/or is_important on up to 100 messages (pass at least one flag, and ids or id).
Changes datamail_add_labelsAdd labels
Adds labels to up to 100 messages (pass ids or id, and labels or label).
Changes datamail_remove_labelsRemove labels
Removes labels from up to 100 messages (pass ids or id, and labels or label; matching is case-insensitive).
Changes datamail_moveMove to folder
Moves up to 100 messages, by default the whole conversation of each id (scope=thread), to another folder: Archive to archive, Trash to delete recoverably, Spam to report (this also marks the sender untrusted so future mail goes to Spam), INBOX to restore. To report while moving to Spam, pass report_category (spam, cold or phishing).
Asks to confirmmail_deleteDelete permanently
PERMANENTLY deletes up to 100 messages (by default their whole conversation, scope=thread), only from Trash or Spam; to just discard mail use mail_move with to_folder Trash.
Asks to confirmmail_snoozeSnooze messages
Snoozes up to 100 messages: moves each one from its folder to Snoozed (other folders like Sent are kept) and returns it to INBOX as unread at until.
Changes datamail_unsnoozeUnsnooze messages
Wakes up to 100 snoozed messages now: moves them from Snoozed back to INBOX as unread and clears snoozed_until.
Changes datamail_get_trustGet sender trust
Returns the trust decision for a sender: pass from_email, or id (a message_uid; the latest external sender of its conversation is used) — one is required.
Read onlymail_set_trustSet sender trust
Sets how future mail from a sender is filtered: untrusted sends it to Spam, trusted skips DMARC quarantine and automatic screening, default removes the decision.
Changes datamail_list_trustList trusted and blocked senders
Command:
list_trustLists senders with an explicit trust decision (senders on default are not listed), optionally only trusted or only untrusted.
Read onlymail_get_raw_sourceGet raw source
Returns the original email (.eml) of a message: { id, size_bytes, eml_base64 }.
Read only
Write & send
41mail_sendSend new email
Command:
send_emailThis REALLY SENDS EMAIL from this mailbox: confirm the recipients and the content with the user before calling it. signature: default, none or a signature id (omitted = no signature).
Field Type Default Description tostring | string[] — One address, or an array of up to 30 for new emails (paid plans). More than one needs a paid plan (PAID_PLAN_REQUIRED); over 30 returns TOO_MANY_RECIPIENTS. track_opensboolean true Tracks when each recipient opens the email (invisible pixel). Recipients who refused tracking are never tracked. track_clicksboolean true Tracks clicks on the links (each link goes through a redirect). unsubscribeboolean false Adds an unsubscribe link at [unsubscribe] in the body (or a default line at the end). Recipients who unsubscribed are refused with RECIPIENT_UNSUBSCRIBED. Asks to confirmmail_replyReply to email
Command:
replyThis REALLY SENDS EMAIL from this mailbox: confirm the recipients and the content with the user before calling it. signature: default, none or a signature id (omitted = no signature); conversation_status: open, waiting or resolved.
Field Type Default Description track_opensboolean true Tracks when each recipient opens the email (invisible pixel). Recipients who refused tracking are never tracked. track_clicksboolean true Tracks clicks on the links (each link goes through a redirect). unsubscribeboolean false Adds an unsubscribe link at [unsubscribe] in the body (or a default line at the end). Recipients who unsubscribed are refused with RECIPIENT_UNSUBSCRIBED. Asks to confirmmail_forwardForward email
Command:
forwardThis REALLY SENDS EMAIL from this mailbox: confirm the recipients and the content with the user before calling it. signature: default, none or a signature id (omitted = no signature).
Field Type Default Description track_opensboolean true Tracks when each recipient opens the email (invisible pixel). Recipients who refused tracking are never tracked. track_clicksboolean true Tracks clicks on the links (each link goes through a redirect). unsubscribeboolean false Adds an unsubscribe link at [unsubscribe] in the body (or a default line at the end). Recipients who unsubscribed are refused with RECIPIENT_UNSUBSCRIBED. Asks to confirmmail_get_trackingGet tracking
Command:
get_trackingReturns opens and clicks of emails sent by this mailbox (1 to 200 message_uid); only messages sent with tracking appear, and opens are an estimate.
Read onlymail_list_contactsList contacts
Command:
list_contactsLists the people who talk to this mailbox (same where/sort as the dashboard contacts), with cursor pagination.
Read onlymail_count_contactsCount contacts
Command:
count_contactsCounts the contacts of this mailbox that match a filter.
Read onlymail_get_mailbox_contactGet mailbox contact
Command:
get_mailbox_contactReturns one contact of this mailbox with counts, dates, tags and trust.
Read onlymail_update_contact_nameUpdate contact name
Command:
update_contact_nameChanges the first and last name of a contact (organize permission).
Changes datamail_list_segmentsList segments
Command:
list_segmentsLists the saved segments of this mailbox, with the custom fields.
Read onlymail_save_segmentSave segment
Command:
save_segmentCreates or updates a segment of this mailbox (organize permission).
Changes datamail_delete_segmentDelete segment
Command:
delete_segmentDeletes a segment of this mailbox (organize permission).
Changes datamail_get_audienceGet audience
Command:
get_audienceChecks an audience before sending: total and the first 30 addresses (paid plans).
Read onlymail_check_recipientsCheck recipients
Command:
check_recipientsTells which of 1 to 100 recipients unsubscribed from this mailbox.
Read onlymail_get_delivery_statusGet delivery status
Command:
get_delivery_statusDelivery of one sent email per recipient (delivered, bounced, spam…), 50 per page.
Read onlymail_list_activityList activity
Command:
list_activityLists who opened, clicked or unsubscribed from emails sent by this mailbox (kind: opened, clicked or unsubscribed), newest first, with cursor pagination.
Read onlymail_upload_attachmentUpload attachment
Uploads ONE file (base64) for an email that will be sent later with mail_send, mail_reply, mail_forward or mail_schedule_send (pass the returned compose_uid, optionally with attachment_ids).
Changes datamail_delete_attachmentRemove uploaded attachment
Removes one file uploaded with mail_upload_attachment from a compose that has not been sent yet.
Asks to confirmmail_get_attachmentDownload attachment
Downloads one attachment of a message in this mailbox (attachment ids come from mail_get_messages, which includes attachments by default).
Read onlymail_schedule_sendSchedule email
Command:
schedule_sendSchedules an email to be sent automatically at send_at (RFC 3339, YYYY-MM-DD = UTC midnight, or epoch ms; at least 1 minute ahead, up to 1 year): it WILL REALLY BE SENT at that time without further confirmation, so confirm recipients, content and time with the user first.
Field Type Default Description tostring | string[] — One address, or an array of up to 30 for new emails (paid plans). More than one needs a paid plan (PAID_PLAN_REQUIRED); over 30 returns TOO_MANY_RECIPIENTS. track_opensboolean true Tracks when each recipient opens the email (invisible pixel). Recipients who refused tracking are never tracked. track_clicksboolean true Tracks clicks on the links (each link goes through a redirect). unsubscribeboolean false Adds an unsubscribe link at [unsubscribe] in the body (or a default line at the end). Recipients who unsubscribed are refused with RECIPIENT_UNSUBSCRIBED. Asks to confirmmail_cancel_scheduleCancel scheduled email
Cancels a scheduled email so it is not sent: it moves back to Drafts with the same content and attachments.
Changes datamail_send_scheduled_nowSend scheduled email now
This REALLY SENDS EMAIL from this mailbox: confirm the recipients and the content with the user before calling it.
Asks to confirmmail_save_draftSave draft
Command:
save_draftSaves an email as a draft in the Drafts folder WITHOUT sending it: the user can review and send it later from the webmail or with mail_send_draft.
Field Type Default Description tostring | string[] — One address, or an array of up to 30 for new emails (paid plans). More than one needs a paid plan (PAID_PLAN_REQUIRED); over 30 returns TOO_MANY_RECIPIENTS. track_opensboolean true Tracks when each recipient opens the email (invisible pixel). Recipients who refused tracking are never tracked. track_clicksboolean true Tracks clicks on the links (each link goes through a redirect). unsubscribeboolean false Adds an unsubscribe link at [unsubscribe] in the body (or a default line at the end). Recipients who unsubscribed are refused with RECIPIENT_UNSUBSCRIBED. Changes datamail_list_draftsList drafts
Command:
list_draftsLists the drafts of this mailbox, newest first (same shape as mail_list_messages for the Drafts folder).
Read onlymail_get_draftGet draft
Command:
get_draftReturns one draft ready to edit: recipients, subject, body, attachments, follow-up and the last send error, if a scheduled send was refused.
Read onlymail_delete_draftDelete draft
Command:
delete_draftDeletes a draft for good (it does not go to Trash).
Asks to confirmmail_send_draftSend draft
Command:
send_draftREALLY SENDS a saved draft through the normal send path (validation, credits, daily limit, anti-spam): confirm recipients and content with the user before calling.
Asks to confirmmail_list_templatesList reply templates
Lists this mailbox's saved reply templates, most used first.
Read onlymail_get_templateGet reply template
Returns one template with its raw (unrendered) subject and body_html: { id, template_id, name, subject, body_html, use_count, last_used_at, created_at, updated_at }.
Read onlymail_create_templateCreate reply template
Saves a reusable reply template for this mailbox (max 200).
Changes datamail_update_templateUpdate reply template
Replaces a template's content: it is a full overwrite, so always send name and the body (body_html or text) again, and subject too — an omitted subject is cleared.
Asks to confirmmail_delete_templateDelete reply template
Permanently deletes a template.
Asks to confirmmail_use_templateRender reply template
Renders a template for a recipient WITHOUT sending: fills {name}, {first_name}, {last_name} from to_name, {email} from to_email and custom placeholders from variables, and counts one use.
Changes datamail_list_followupsList follow-up reminders
Lists the follow-up reminders of this mailbox ("remind me if they don't reply"), soonest first.
Read onlymail_set_followupSet follow-up reminder
Sets a reminder on a message this mailbox SENT: if nobody replies by remind_at the conversation is flagged for follow-up (nothing is sent to the recipient).
Changes datamail_cancel_followupCancel follow-up reminder
Removes the follow-up reminder of a conversation.
Asks to confirmmail_get_contactGet contact overview
Summarizes everything this mailbox knows about one email address: name, domain, provider, free_email, counts of messages received/sent and conversations (capped=true when over 50 each way), first_at/last_at, the 6 most recent conversations, trust status, private note, unsubscribe record, follow-ups and enabled rules that match the sender.
Read onlymail_save_contact_noteSave contact note
Saves the mailbox's private note about a contact (never sent to anyone), replacing the previous note; an empty note deletes it.
Asks to confirmmail_get_unsubscribe_optionsGet unsubscribe options
Reads the List-Unsubscribe headers of a RECEIVED email (newsletter/marketing) without doing anything.
Read onlymail_unsubscribeUnsubscribe from list
Unsubscribes this mailbox from the mailing list of a RECEIVED email, using the best method in its headers; afterwards new emails from that list go to Spam.
Asks to confirmmail_list_unsubscribedList unsubscribed lists
Lists the mailing lists this mailbox has unsubscribed from (paged).
Read onlymail_remove_unsubscribeRemove unsubscribe record
Deletes an unsubscribe record so emails from that list stop being sent to Spam.
Asks to confirm
Rules & labels
14mail_list_rulesList mailbox rules
Lists every rule (filter) of this mailbox in execution order.
Read onlymail_get_ruleGet mailbox rule
Returns one rule with the same fields as an item of mail_list_rules.
Read onlymail_create_ruleCreate mailbox rule
Creates a rule that runs on every new incoming email, appended at the end of the order (max 100 rules per mailbox).
Changes datamail_update_ruleReplace mailbox rule
Replaces a saved rule entirely with the given definition (same structure and validation as mail_create_rule); omitted optional fields reset to their defaults (match all, no except, stop false, enabled true, timezone UTC), so read it with mail_get_rule and send the full rule.
Changes datamail_delete_ruleDelete mailbox rule
Permanently deletes a rule; emails it already processed are not changed.
Asks to confirmmail_set_rule_enabledEnable or disable rule
Turns a rule on or off without changing its definition; disabled rules do not run on new email.
Changes datamail_reorder_rulesReorder mailbox rules
Sets the execution order of the rules: ids in the new order, first runs first (order matters for the first move winning and for stop).
Changes datamail_rule_optionsRule building options
Returns what a rule can be built from: { fields: { field: type }, operators: { type: [ops] }, actions: { type: value_kind }, providers: { key: label }, weekdays, move_targets, limits: { rules, conditions, actions, value, regex, list_items } }.
Read onlymail_test_ruleTest rule on existing email
Dry run: checks a saved rule (id) or an unsaved rule (rule) against the most recent emails of a folder without changing anything.
Read onlymail_apply_ruleApply rule to existing email
Runs a saved rule (id, even if disabled) or an unsaved rule (rule) on the emails already in a folder, changing every matching message: moves them (move/keep_inbox/block_sender), adds labels, marks read, stars and marks important.
Asks to confirmmail_list_labelsList labels
Lists the mailbox labels sorted by name.
Read onlymail_create_labelCreate label
Creates a label with a color (max 100 labels per mailbox).
Changes datamail_set_label_colorSet label color
Changes the color of an existing label.
Changes datamail_delete_labelDelete label
Deletes a label and removes it from every message that has it (the messages themselves are kept).
Asks to confirm
Junk & reports
7mail_reportReport email
Reports up to 100 messages with a reason (category: spam, cold, phishing or marketing): spam, cold and phishing go to Spam, marketing goes to Promotions. Returns { items: [{ id, ok, data, code? }], ok_count, failed_count }.
Changes datamail_block_senderBlock sender
Blocks the senders of up to 100 messages: future mail from them goes to Spam. Returns { items, ok_count, failed_count }.
Changes datamail_list_junkList junk
Lists the messages in Spam, optionally only by reason (blocked, unsubscribed or spam), paged with limit and cursor.
Read onlymail_blocked_junk_countCount blocked junk
Returns how many messages in Spam came from blocked senders.
Read onlymail_clear_blocked_junkClear blocked junk
Deletes the messages from blocked senders in Spam, in batches: returns remaining; call it again while remaining > 0.
Asks to confirmmail_list_top_sendersList top senders
Lists the senders with the most messages in the mailbox, to find what to clean up.
Read onlymail_cleanup_senderClean up sender
Applies one action to every message from from_email: archive, trash or read.
Asks to confirm
Settings
8mail_get_filter_modeGet inbox filtering
Returns the inbox filtering mode: default (authenticated email goes to Inbox or Promotions) or strict (only trusted senders reach the Inbox).
Read onlymail_set_filter_modeSet inbox filtering
Sets filter_mode to default or strict; applies to new emails within 1 minute.
Changes datamail_list_signaturesList signatures
Lists the mailbox signatures, with which one is the default for new emails and for replies.
Read onlymail_create_signatureCreate signature
Creates a signature (name, body_html), optionally as the default for new emails (is_default_for_new) and/or replies (is_default_for_reply).
Changes datamail_update_signatureUpdate signature
Changes a signature's name and/or body_html by signature_id.
Changes datamail_delete_signatureDelete signature
Deletes a signature by signature_id.
Asks to confirmmail_set_default_signatureSet default signature
Makes a signature the default for slot new (new emails) or reply (replies).
Changes datamail_clear_default_signatureClear default signature
Removes the default signature of slot new or reply.
Changes data
Team
8mail_get_conversationGet conversation
Returns who the conversation is assigned to and its status: { assignee: { kind, id, name, key } | null, assigned_at, status, status_at, notes_count, last_note_at }.
Read onlymail_list_assigneesList assignees
Lists who conversations can be assigned to (owner, members and guests), each with its key (e.g. member:12).
Read onlymail_assign_conversationAssign conversation
Assigns up to 100 conversations to assignee_key (e.g. member:12), or unassigns them with null. Returns { items, ok_count, failed_count }.
Changes datamail_set_conversation_statusSet conversation status
Sets the status of up to 100 conversations: open, waiting or resolved. Returns { items, ok_count, failed_count }.
Changes datamail_list_conversationsList conversations
Lists conversations by view: assigned (with assignee_key), waiting or resolved, paged with limit and cursor.
Read onlymail_list_conversation_notesList internal notes
Lists the internal notes of a conversation (only the team sees them), with replies.
Read onlymail_add_conversation_noteAdd internal note
Adds an internal note (body) to a conversation, or a reply to another note with parent_id.
Changes datamail_delete_conversation_noteDelete internal note
Deletes an internal note by note_id.
Asks to confirm