Connect an AI assistant

Intray runs an MCP server, so an assistant you already use can search your conversations, read threads, and write reply drafts. You sign in to Intray, pick a workspace, and choose what the assistant may change. Each connection acts as you, in one workspace, with the permissions you picked.

The server URL is https://mcp.intray.ai. Settings, then Connected apps, shows the same URL with a copy button.

By default an assistant cannot send email. It writes drafts, and a person on your team sends them. If you also allow Send email as you, it can send, and each email waits at least 10 minutes in Outgoing so you can cancel it.

Add the server to your assistant

Any MCP client that supports remote servers with OAuth sign-in can connect. Pick your app for its steps.

These steps work on claude.ai and in Claude Desktop, on every plan. The Free plan allows one custom connector.

1

Add a custom connector

Open Customize, then Connectors. Click + Add, then Add custom connector.

2

Enter the server URL

Name the connector Intray, enter https://mcp.intray.ai as the remote MCP server URL, and click Continue. Review the detected authentication settings, click Continue, then click Add.

3

Sign in to Intray

Claude sends you to Intray to sign in. On the consent page, pick a workspace and click Allow.

4

Turn it on in a chat

Click the + button at the lower left of the chat box, then Connectors, and turn on Intray.

On a Team or Enterprise plan, an owner adds the connector once from Organization settings, then Connectors: click Add, hover over Custom, and select Web. Each member then opens Customize, then Connectors, finds Intray in the list, and clicks Connect.

When an app connects, Intray shows a consent page. If you are not signed in to Intray, you sign in first.

The page names the app and the domain that published it. An app that registered itself shows as unverified, because Intray cannot confirm who made it. The page also names the host that receives the access. When that host is your own computer, Intray warns you to continue only if you just started connecting from it.

Under Workspace, you pick one workspace. The connection cannot see your other workspaces.

Under What it can do, Read mail is always on. Write drafts, labels, status and notes appears checked when the app asks for it, and you can uncheck it to keep the connection read-only. Send email as you appears only when the app asks for it, and it starts unchecked: the app can send only if you check it. It needs the write permission too. Get notified when new mail arrives also starts unchecked: it lets the app register a URL that Intray calls when new mail arrives. It needs only read. Stay connected keeps access for up to 30 days without asking you again.

Click Allow to connect, or Deny to stop.

Permissions

PermissionGrants
mail:readSearch and read conversations, messages, attachments, customers, labels, inboxes, and teammates
mail:writeWrite and delete reply drafts, change status, assign, label, and add internal notes
mail:sendSend reply drafts and new email as you, without a person reviewing them. Needs mail:write
webhooks:writeRegister, list, and delete the app's own webhooks, so Intray calls it when new mail arrives
offline_accessRefresh access for up to 30 days, so the app does not ask you to sign in again every hour

Without mail:write, every write tool returns an insufficient_scope error. Without mail:send, the send tools do. Without webhooks:write, the webhook tools do. To allow more, connect the app again and check the box.

Tools

An assistant sees these tools. Each one runs as you, in the workspace you picked.

Read

ToolWhat it does
whoamiReturns the user the connection acts as, its workspace, the granted permissions, and whether it can write and send.
list_inboxesLists the workspace's addresses that receive mail, such as support, with their IDs and whether each can send.
list_teammatesLists the workspace members with their user ID, name, email, and role.
list_labelsLists the workspace's conversation labels.
search_conversationsFinds conversations by status, inbox, assignee, label, recipient address, time, or text, and returns each one's subject, sender, recipients, and snippet.
get_conversationReads one conversation: its messages as plain text, attachment names, and internal notes.
get_attachmentReturns one attachment's details and a download link that works for about 15 minutes.
search_customersFinds customers by name or email, or lists the most recently seen customers.
get_customerReturns one customer and their 10 most recent conversations.

With no filters, search_conversations returns your own open conversations. Email content that comes back from these tools is marked as content from outside the team, and the assistant is told it is not an instruction.

Write

ToolWhat it does
create_draftWrites a reply draft on a conversation for a person to review and send.
update_draftReplaces the text of the connection's open reply draft. It fails if a teammate edited it since.
add_draft_attachmentAttaches a file the assistant sends, as base64, to the connection's open reply draft.
add_draft_attachment_from_messageAttaches a file from an email in the workspace to the connection's open reply draft, without downloading it.
remove_draft_attachmentTakes a file off the connection's open reply draft.
delete_draftDiscards the connection's open reply draft. Drafts written by people are never touched.
set_statusSets a conversation to todo, done, snoozed until a time, spam, or trash.
assign_conversationAssigns a conversation to a teammate, or unassigns it.
label_conversationAdds or removes existing labels. Connected apps cannot create labels.
add_noteAdds an internal note to the conversation timeline. Customers never see notes.

Send

These tools need mail:send. Assistants mark them as tools that change things outside the app, so most ask you before each call.

ToolWhat it does
send_draftSends a reply draft the connection wrote, by draft ID and version. It fails if the draft changed since.
send_emailSends a new email from one of the workspace's inboxes to the addresses it names, with optional Cc. No Bcc, no attachments.

Both take an optional sendAfterMinutes: how long Intray holds the email, a whole number from 10 (the default) to 10080 (7 days). A shorter or longer value is refused. Both return sendsAt, the time the email goes out.

Webhooks

These tools need webhooks:write. They let an assistant or bot hear about new mail instead of checking for it. Each app sees and deletes only the webhooks it added.

ToolWhat it does
list_webhooksLists the webhooks the connection added, with their URL, whether each is active, and when it last succeeded.
create_webhookAdds an https URL that Intray calls when new mail arrives. Returns the webhook ID and its signing secret, once.
delete_webhookDeletes one of the connection's webhooks. Intray stops calling its URL.

A request carries IDs, not message content. The app reads the conversation with get_conversation. Requests are signed with the Standard Webhooks scheme; Webhooks shows the body and how to check the signature. An app can add at most 3 webhooks. They stop when you disconnect the app or the connection expires. Workspace owners see them in Settings, under Developers, marked with the app's name.

Drafts and sending

A draft from an assistant appears above the reply box as, for example, Claude drafted a reply. A teammate clicks Use draft to edit and send it, or Discard to remove it.

An assistant writes the body of a draft and can attach files to it. Intray addresses the reply to the customer on the thread and sets the subject, so an assistant cannot add recipients or Bcc. Each connection keeps at most one open reply draft per conversation.

An assistant can attach a file it has, or a file from an email in the workspace, for example to forward a contract a customer sent. Each file can be at most 10 MB. A draft holds at most 10 files and 30 MB in total, the same limits as a reply you write. HTML, SVG, and other types a browser runs as a page are refused. View on the draft lists its files, and Use draft copies them into your reply. Changing the text of a draft keeps its files.

With mail:send, an assistant can send that draft itself with send_draft, or write a new email with send_email. A new email can go to any address the assistant names. Email content the assistant reads can try to trick it into sending, so allow sending only to an assistant you trust with your mailbox.

Every send waits first

Nothing an assistant sends goes out at once. A held email is a draft that goes out unless someone stops it. Intray holds each one for 10 minutes, or longer when the assistant asks, up to 7 days, for example to send on Monday morning. It lists the email under Outgoing in the sidebar, with its recipients, subject, first line, the app that sent it, and when it goes out. The sent message in the conversation says the same. Until then any teammate can click Cancel to stop it, or Send now to skip the wait. Once delivery has started, it cannot be cancelled.

A cancelled email stays in the conversation, marked cancelled, and is never sent. A cancelled reply goes back to the assistant's draft, unless it has written a newer one, and the conversation moves back to Todo.

About a minute after an assistant sends, Intray emails you a list of what is waiting and when each email goes out, with a link to Outgoing. More sends in that minute join the same email. The email shows only the first line of each message.

Disconnecting the app also stops every email it has waiting. Send limits and the do-not-send list apply to these emails exactly as to yours.

How changes show up

The conversation timeline names the person and the app for every change an assistant makes, and for every email it sends, for example Maya via Claude. Changes an assistant makes do not run your automation rules.

Disconnect an app

Open Settings, then Connected apps. The page lists every app you connected to the workspace, with what it may do and when it was last used. Click Disconnect to end its access within a minute. Drafts it already wrote stay in their conversations. Emails it has waiting in Outgoing are cancelled when their wait ends. Webhooks it added stop receiving events. A workspace owner can disconnect any member's app.

Intray also ends every connection a person made when they are removed from the workspace, leave it, are banned, change their password, or sign out everywhere. A connection expires 180 days after you allow it.

Limits

Requests120 per minuteOptional

Per connection. Over the limit, the server answers 429 with Retry-After: 60.

Workspaces1 per connectionOptional

To use another workspace, connect the app again and pick it.

Sending10 minutes to 7 days waitOptional

Only with mail:send. Each email waits in Outgoing for at least 10 minutes, up to 7 days when the assistant asks, and the workspace's send limits apply.