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
MCPhttps://g.sendcorex.com/mcp/inbox
Read onlynever changes anythingChanges datacreates or updatesAsks to confirmsends email or deletes: your app asks you first
100 tools

Read & organize

22
  • mail_whoami

    Who am I

    Returns which mailbox this credential belongs to and details about the credential itself, without reading any message.

    Read only
  • mail_list_folders

    List 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 only
  • mail_create_folder

    Create custom folder

    Creates a custom folder; its id is a slug of the name ("Project X" becomes project-x).

    Changes data
  • mail_rename_folder

    Rename custom folder

    Renames a custom folder; only the display name changes, the folder id (slug) stays the same.

    Changes data
  • mail_delete_folder

    Delete custom folder

    Deletes a custom folder record.

    Asks to confirm
  • mail_get_counters

    Get mailbox counters

    Returns mailbox totals and per-folder counts: { total, unread, size_bytes, folders: { <folder>: { total, unread, size_bytes } } }.

    Read only
  • mail_list_threads

    List conversations in a folder

    Lists conversations (threads) in one folder, newest first: the main way to browse a folder like the webmail does.

    Read only
  • mail_get_thread

    Read 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 only
  • mail_list_messages

    List messages in a folder

    Lists individual messages (not grouped by conversation) in one folder, newest first; prefer mail_list_threads for browsing.

    Read only
  • mail_get_messages

    Get 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 only
  • mail_search

    Search 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 only
  • mail_set_flags

    Set 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 data
  • mail_add_labels

    Add labels

    Adds labels to up to 100 messages (pass ids or id, and labels or label).

    Changes data
  • mail_remove_labels

    Remove labels

    Removes labels from up to 100 messages (pass ids or id, and labels or label; matching is case-insensitive).

    Changes data
  • mail_move

    Move 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 confirm
  • mail_delete

    Delete 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 confirm
  • mail_snooze

    Snooze 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 data
  • mail_unsnooze

    Unsnooze messages

    Wakes up to 100 snoozed messages now: moves them from Snoozed back to INBOX as unread and clears snoozed_until.

    Changes data
  • mail_get_trust

    Get 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 only
  • mail_set_trust

    Set 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 data
  • mail_list_trust

    List trusted and blocked senders

    Command: list_trust

    Lists senders with an explicit trust decision (senders on default are not listed), optionally only trusted or only untrusted.

    Read only
  • mail_get_raw_source

    Get raw source

    Returns the original email (.eml) of a message: { id, size_bytes, eml_base64 }.

    Read only

Write & send

41
  • mail_send

    Send new email

    Command: send_email

    This 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).

    FieldTypeDefaultDescription
    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_opensbooleantrueTracks when each recipient opens the email (invisible pixel). Recipients who refused tracking are never tracked.
    track_clicksbooleantrueTracks clicks on the links (each link goes through a redirect).
    unsubscribebooleanfalseAdds 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 confirm
  • mail_reply

    Reply to email

    Command: reply

    This 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.

    FieldTypeDefaultDescription
    track_opensbooleantrueTracks when each recipient opens the email (invisible pixel). Recipients who refused tracking are never tracked.
    track_clicksbooleantrueTracks clicks on the links (each link goes through a redirect).
    unsubscribebooleanfalseAdds 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 confirm
  • mail_forward

    Forward email

    Command: forward

    This 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).

    FieldTypeDefaultDescription
    track_opensbooleantrueTracks when each recipient opens the email (invisible pixel). Recipients who refused tracking are never tracked.
    track_clicksbooleantrueTracks clicks on the links (each link goes through a redirect).
    unsubscribebooleanfalseAdds 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 confirm
  • mail_get_tracking

    Get tracking

    Command: get_tracking

    Returns 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 only
  • mail_list_contacts

    List contacts

    Command: list_contacts

    Lists the people who talk to this mailbox (same where/sort as the dashboard contacts), with cursor pagination.

    Read only
  • mail_count_contacts

    Count contacts

    Command: count_contacts

    Counts the contacts of this mailbox that match a filter.

    Read only
  • mail_get_mailbox_contact

    Get mailbox contact

    Command: get_mailbox_contact

    Returns one contact of this mailbox with counts, dates, tags and trust.

    Read only
  • mail_update_contact_name

    Update contact name

    Command: update_contact_name

    Changes the first and last name of a contact (organize permission).

    Changes data
  • mail_list_segments

    List segments

    Command: list_segments

    Lists the saved segments of this mailbox, with the custom fields.

    Read only
  • mail_save_segment

    Save segment

    Command: save_segment

    Creates or updates a segment of this mailbox (organize permission).

    Changes data
  • mail_delete_segment

    Delete segment

    Command: delete_segment

    Deletes a segment of this mailbox (organize permission).

    Changes data
  • mail_get_audience

    Get audience

    Command: get_audience

    Checks an audience before sending: total and the first 30 addresses (paid plans).

    Read only
  • mail_check_recipients

    Check recipients

    Command: check_recipients

    Tells which of 1 to 100 recipients unsubscribed from this mailbox.

    Read only
  • mail_get_delivery_status

    Get delivery status

    Command: get_delivery_status

    Delivery of one sent email per recipient (delivered, bounced, spam…), 50 per page.

    Read only
  • mail_list_activity

    List activity

    Command: list_activity

    Lists who opened, clicked or unsubscribed from emails sent by this mailbox (kind: opened, clicked or unsubscribed), newest first, with cursor pagination.

    Read only
  • mail_upload_attachment

    Upload 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 data
  • mail_delete_attachment

    Remove uploaded attachment

    Removes one file uploaded with mail_upload_attachment from a compose that has not been sent yet.

    Asks to confirm
  • mail_get_attachment

    Download attachment

    Downloads one attachment of a message in this mailbox (attachment ids come from mail_get_messages, which includes attachments by default).

    Read only
  • mail_schedule_send

    Schedule email

    Command: schedule_send

    Schedules 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.

    FieldTypeDefaultDescription
    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_opensbooleantrueTracks when each recipient opens the email (invisible pixel). Recipients who refused tracking are never tracked.
    track_clicksbooleantrueTracks clicks on the links (each link goes through a redirect).
    unsubscribebooleanfalseAdds 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 confirm
  • mail_cancel_schedule

    Cancel scheduled email

    Cancels a scheduled email so it is not sent: it moves back to Drafts with the same content and attachments.

    Changes data
  • mail_send_scheduled_now

    Send scheduled email now

    This REALLY SENDS EMAIL from this mailbox: confirm the recipients and the content with the user before calling it.

    Asks to confirm
  • mail_save_draft

    Save draft

    Command: save_draft

    Saves 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.

    FieldTypeDefaultDescription
    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_opensbooleantrueTracks when each recipient opens the email (invisible pixel). Recipients who refused tracking are never tracked.
    track_clicksbooleantrueTracks clicks on the links (each link goes through a redirect).
    unsubscribebooleanfalseAdds an unsubscribe link at [unsubscribe] in the body (or a default line at the end). Recipients who unsubscribed are refused with RECIPIENT_UNSUBSCRIBED.
    Changes data
  • mail_list_drafts

    List drafts

    Command: list_drafts

    Lists the drafts of this mailbox, newest first (same shape as mail_list_messages for the Drafts folder).

    Read only
  • mail_get_draft

    Get draft

    Command: get_draft

    Returns one draft ready to edit: recipients, subject, body, attachments, follow-up and the last send error, if a scheduled send was refused.

    Read only
  • mail_delete_draft

    Delete draft

    Command: delete_draft

    Deletes a draft for good (it does not go to Trash).

    Asks to confirm
  • mail_send_draft

    Send draft

    Command: send_draft

    REALLY 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 confirm
  • mail_list_templates

    List reply templates

    Lists this mailbox's saved reply templates, most used first.

    Read only
  • mail_get_template

    Get 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 only
  • mail_create_template

    Create reply template

    Saves a reusable reply template for this mailbox (max 200).

    Changes data
  • mail_update_template

    Update 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 confirm
  • mail_delete_template

    Delete reply template

    Permanently deletes a template.

    Asks to confirm
  • mail_use_template

    Render 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 data
  • mail_list_followups

    List follow-up reminders

    Lists the follow-up reminders of this mailbox ("remind me if they don't reply"), soonest first.

    Read only
  • mail_set_followup

    Set 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 data
  • mail_cancel_followup

    Cancel follow-up reminder

    Removes the follow-up reminder of a conversation.

    Asks to confirm
  • mail_get_contact

    Get 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 only
  • mail_save_contact_note

    Save 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 confirm
  • mail_get_unsubscribe_options

    Get unsubscribe options

    Reads the List-Unsubscribe headers of a RECEIVED email (newsletter/marketing) without doing anything.

    Read only
  • mail_unsubscribe

    Unsubscribe 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 confirm
  • mail_list_unsubscribed

    List unsubscribed lists

    Lists the mailing lists this mailbox has unsubscribed from (paged).

    Read only
  • mail_remove_unsubscribe

    Remove unsubscribe record

    Deletes an unsubscribe record so emails from that list stop being sent to Spam.

    Asks to confirm

Rules & labels

14
  • mail_list_rules

    List mailbox rules

    Lists every rule (filter) of this mailbox in execution order.

    Read only
  • mail_get_rule

    Get mailbox rule

    Returns one rule with the same fields as an item of mail_list_rules.

    Read only
  • mail_create_rule

    Create 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 data
  • mail_update_rule

    Replace 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 data
  • mail_delete_rule

    Delete mailbox rule

    Permanently deletes a rule; emails it already processed are not changed.

    Asks to confirm
  • mail_set_rule_enabled

    Enable or disable rule

    Turns a rule on or off without changing its definition; disabled rules do not run on new email.

    Changes data
  • mail_reorder_rules

    Reorder 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 data
  • mail_rule_options

    Rule 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 only
  • mail_test_rule

    Test 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 only
  • mail_apply_rule

    Apply 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 confirm
  • mail_list_labels

    List labels

    Lists the mailbox labels sorted by name.

    Read only
  • mail_create_label

    Create label

    Creates a label with a color (max 100 labels per mailbox).

    Changes data
  • mail_set_label_color

    Set label color

    Changes the color of an existing label.

    Changes data
  • mail_delete_label

    Delete label

    Deletes a label and removes it from every message that has it (the messages themselves are kept).

    Asks to confirm

Junk & reports

7
  • mail_report

    Report 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 data
  • mail_block_sender

    Block sender

    Blocks the senders of up to 100 messages: future mail from them goes to Spam. Returns { items, ok_count, failed_count }.

    Changes data
  • mail_list_junk

    List junk

    Lists the messages in Spam, optionally only by reason (blocked, unsubscribed or spam), paged with limit and cursor.

    Read only
  • mail_blocked_junk_count

    Count blocked junk

    Returns how many messages in Spam came from blocked senders.

    Read only
  • mail_clear_blocked_junk

    Clear blocked junk

    Deletes the messages from blocked senders in Spam, in batches: returns remaining; call it again while remaining > 0.

    Asks to confirm
  • mail_list_top_senders

    List top senders

    Lists the senders with the most messages in the mailbox, to find what to clean up.

    Read only
  • mail_cleanup_sender

    Clean up sender

    Applies one action to every message from from_email: archive, trash or read.

    Asks to confirm

Settings

8
  • mail_get_filter_mode

    Get inbox filtering

    Returns the inbox filtering mode: default (authenticated email goes to Inbox or Promotions) or strict (only trusted senders reach the Inbox).

    Read only
  • mail_set_filter_mode

    Set inbox filtering

    Sets filter_mode to default or strict; applies to new emails within 1 minute.

    Changes data
  • mail_list_signatures

    List signatures

    Lists the mailbox signatures, with which one is the default for new emails and for replies.

    Read only
  • mail_create_signature

    Create 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 data
  • mail_update_signature

    Update signature

    Changes a signature's name and/or body_html by signature_id.

    Changes data
  • mail_delete_signature

    Delete signature

    Deletes a signature by signature_id.

    Asks to confirm
  • mail_set_default_signature

    Set default signature

    Makes a signature the default for slot new (new emails) or reply (replies).

    Changes data
  • mail_clear_default_signature

    Clear default signature

    Removes the default signature of slot new or reply.

    Changes data

Team

8
  • mail_get_conversation

    Get 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 only
  • mail_list_assignees

    List assignees

    Lists who conversations can be assigned to (owner, members and guests), each with its key (e.g. member:12).

    Read only
  • mail_assign_conversation

    Assign 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 data
  • mail_set_conversation_status

    Set conversation status

    Sets the status of up to 100 conversations: open, waiting or resolved. Returns { items, ok_count, failed_count }.

    Changes data
  • mail_list_conversations

    List conversations

    Lists conversations by view: assigned (with assignee_key), waiting or resolved, paged with limit and cursor.

    Read only
  • mail_list_conversation_notes

    List internal notes

    Lists the internal notes of a conversation (only the team sees them), with replies.

    Read only
  • mail_add_conversation_note

    Add internal note

    Adds an internal note (body) to a conversation, or a reply to another note with parent_id.

    Changes data
  • mail_delete_conversation_note

    Delete internal note

    Deletes an internal note by note_id.

    Asks to confirm