> ## Documentation Index
> Fetch the complete documentation index at: https://docs.openemails.com/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 three decisions: which agent connects, what goes out, and when it stops. This page shows where that line is 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. The link opens the request's page in your Shopify admin. OpenEmails checks with Shopify who you are, and then you approve there. This is by design: approvals happen only in the Shopify admin.

These always need approval:

* Sending a campaign, and resuming a campaign that OpenEmails paused.
* Putting a flow version live, and turning a flow back on.
* Rolling out a shared block change to live flows and scheduled campaigns.
* 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.

The approval page shows what OpenEmails holds, never your agent's own words. A request freezes the thing as it was. If the thing changes afterwards, the request ends and your agent must ask again. A request expires 24 hours after your agent asks. You can also decline with a note, and your agent can read the note. See [Approvals](https://docs.openemails.com/use/approvals.md).

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

Anything that means less email needs no approval, so your agent can act fast when something is wrong. It can 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 an agent** screen.
* **Connect or disconnect Klaviyo,** or confirm that there is no Klaviyo account to bring over. OpenEmails stores your Klaviyo key encrypted, and no agent can see it.
* **Create or revoke an app key.** An app key lets another app send events that start a flow.
* **Remove an active test address.**
* **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 OpenEmails, and they are 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**. It also ends by itself after 90 days without use, or 180 days after you allowed it. | Sign the agent out of those accounts. |

An agent that holds 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://docs.openemails.com/setup/set-up-with-your-agent.md)). Choose carefully which agent keeps them afterwards. Day-to-day work needs only 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 OpenEmails would see the signed-in staff member. Make those clicks yourself, even when your agent can use that browser.

## Every call is recorded

OpenEmails records every tool call before it runs. That includes reads and refused calls, such as a write from a read-only agent, a call over the rate limit, or a call to 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 the activity of one agent or one staff member. You can also filter by **Record type** and by date. Activity keeps the current month and the twelve months before it. It has no export.

## 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 connections** 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 that Shopify lets open the app can allow connections and approve requests, and that includes collaborators. OpenEmails has no roles of its own. The store owner sets who can open the app in Shopify's app permissions for staff and collaborators.

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

> [card] [Approvals](https://docs.openemails.com/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.