> ## Documentation Index
> Fetch the complete documentation index at: https://openemail-docs.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# What stays with you

> The decisions your agent can't make, the access it never gets, and how to see and end what it does.

Your agent does the work. A person at your store keeps the decisions that matter: who gets connected, what goes out, and when it stops. This page covers where that line sits and how to check it.

## Your agent can't approve

Anything that means more email waits for a staff member's yes. Your agent asks with `request_approval` and gives you a link. You approve on that request's page in the OpenEmail app in your Shopify admin, after OpenEmail checks with Shopify who you are.

These always need approval:

* Sending a campaign.
* Putting a flow version live, and turning a flow back on.
* Bringing a Klaviyo migration over.
* Subscribing people by hand.
* Adding a test address other than your own Shopify address.
* Lifting a do-not-email entry that was added by hand.

What you see on the approval page comes from OpenEmail, never from your agent's own words. Asking freezes the thing as it was: if it changes afterwards, the request ends and your agent has to ask again. A request expires 24 hours after your agent asks. See [Approvals](https://openemail-docs.mintlify.site/use/approvals.md).

> [!WARNING]
>
> **A yes in chat is not an approval.** Approving needs a browser signed in to Shopify. Your agent can't approve from inside a chat, and it can't pass you a code to approve with.

Anything that means less email needs no approval, so your agent can act fast when something's wrong: pause or cancel a campaign, turn off a flow, unsubscribe a contact, or add an address to the do-not-email list.

## What only a person can do

Some things have no tool at all. Only a staff member signed in to your Shopify admin can:

* **Allow a connection.** Your agent asks to connect; a person clicks **Allow** on the Connect screen.
* **Connect or disconnect Klaviyo,** or confirm there's no Klaviyo account to bring over. Your Klaviyo key is stored encrypted, and no agent can see it.
* **Erase a contact.**

Bounces, complaints and unsubscribes can't be lifted through any tool. An agent can only ask to lift a do-not-email entry that was added by hand.

## Connections and infrastructure credentials are different

There are two kinds of access to your copy of OpenEmail, and they're not equal.

| | MCP connection | Infrastructure credentials |
| - | - | - |
| **What it is** | Your AI signed in over OAuth and allowed on the Connect screen. | Sign-ins to the accounts your copy runs on, such as Render and the Shopify CLI. |
| **What it can do** | Only what the tools allow, at the access you chose. | Read every secret and the database, and deploy changed code. |
| **Approvals** | Can ask, never approve. | Not bound by the approval rule at all. |
| **Recorded in Activity** | Every call. | Only deploys, as the code that went live. |
| **How you end it** | **Revoke** on **Settings > Agents**. | Sign the agent out of those accounts. |

An agent holding infrastructure credentials is trusted like an operator of your systems. Setup needs those credentials, so your setup agent has them while it works ([Set up with your agent](https://openemail-docs.mintlify.site/setup/set-up-with-your-agent.md)). Choose carefully which agent keeps them afterwards. Day-to-day work only needs the MCP connection.

> [!CAUTION]
>
> **An agent that drives a browser signed in to Shopify acts as you.** It could click **Allow** on a connection or **Approve** on an approval page, and OpenEmail would see the signed-in staff member. Keep those clicks yours, even when your agent can use that browser.

## Every call is recorded

OpenEmail records every tool call before it runs: reads included, and refused calls too, such as a read-only agent trying to write, a call over the rate limit, or a tool that doesn't exist.

* Each record holds the connection, the tool, the time, the outcome, any error code and how long it took.
* Records hold only the IDs of what was read or changed. They never store full inputs, outputs, tokens or personal data.
* Approvals, connections, staff actions in the admin, deploys and privacy requests are recorded too.

Open **Settings > Activity** to read it. Choose a name under **Who** to see one agent's or one staff member's activity, or narrow it by **Record kind** and date. Activity keeps the current month plus the twelve before it.

## Revoke access

* Open **Settings > Agents**. The **Connected agents** list shows who allowed each connection, its access and when it was last used.
* Click **Revoke** beside a connection, or **Revoke all** to end every connection, and confirm.
* The revoked agent is refused on its next call. To use it again, connect it and allow it again.

> [!NOTE]
>
> **Removing a staff member from Shopify doesn't end the connections they allowed.** Revoke those yourself. Any staff member Shopify lets open the app can allow connections and approve requests, collaborators included. The store owner controls who that is in Shopify's app permissions for staff and collaborators.

> [card] [Connect your AI](https://openemail-docs.mintlify.site/setup/connect-your-ai.md)
>
> Connect a client, choose its access, revoke it.

> [card] [Approvals](https://openemail-docs.mintlify.site/use/approvals.md)
>
> What an approval page shows and what approving does.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.