---
title: 'MCP Email'
url: 'https://info.srv.kowal.co/docs/magento/modules/mcp/mcp-email'
markdown: 'https://info.srv.kowal.co/docs/magento/modules/mcp/mcp-email.md'
lang: en
date: '2026-11-30'
description: 'Find the order or invoice email template used by a store view. Preview changes to the subject, content and styles before assigning the revised template.'
taxonomy:
  category:
    - docs
    - Magento
    - MCP
---

# MCP Email

## Product page

[Kowal MCP Server — kowal.co](https://kowal.co/kowal-mcp-server-for-magento-2)

## Description

Use the kowal\_email\_template tool to inspect the transactional email templates Magento Sales selects for a store view and to prepare revisions for review.

## For whom

For Magento administrators and developers maintaining order, invoice, shipment and credit memo emails for customers and guests.

## Features

- List the registered message types and inspect the variables declared in their module source.
- Read a store view’s effective template assignment and inspect the assigned database or file source.
- Clone a supported database template, review revisions to its subject, content or styles, and manage store-view assignment through separate change plans.

## Installation

This component is included in Kowal MCP Server. Follow the [suite installation instructions](https://info.srv.kowal.co/docs/magento/modules/mcp).

## Configuration

1. Follow the package installation instructions and enable `Kowal_McpEmail` alongside `Magento_Email`, `Magento_Config` and `Magento_Sales`. Run the Magento upgrade as part of deployment.
2. Grant `kowal_email_template/list_message_types` for discovery. For assignment reads, grant both `kowal_email_template/get_assignments` and `kowal_email_template/scope_store_N`, replacing N with the active store view ID. Renew OAuth consent after changing grants.
3. Call `get_assignments` with the message type and store ID. To inspect the source, grant and use `get_assigned_template` for a database template or `get_assigned_file` for a registered file reference.

## Requirements / notes

A clone is saved as an unassigned database template. Review its preview and confirm the target store view before approving a separate assignment plan.

## FAQ

**Does get\_variables show the values from a customer’s order?**

It returns declarations from the registered module file. To review the template actually selected for a particular view, start with its assignment and inspect the corresponding source.

## Verify the installation

```sh
bin/magento module:status Kowal_McpEmail
```

List the message types and select `order_guest`. Read its assignment for an active test store view and compare the template reference with the order email setting in Magento Admin. This check uses read actions only.

---

## Navigation

- Parent: [Kowal MCP Server](https://info.srv.kowal.co/docs/magento/modules/mcp.md)
- Previous: [MCP Offer System](https://info.srv.kowal.co/docs/magento/modules/mcp/mcp-offer-system.md)
- Next: [MCP Newsletter](https://info.srv.kowal.co/docs/magento/modules/mcp/mcp-newsletter.md)
