Read one marketing email
get_store_emailOne captured marketing email, by store domain and email id from get_store_emails: the plain-text body, plus — only when includeHtml is true — the sanitized HTML source (htmlBody) for re-rendering the email visually for the user, e.g. as an artifact. Free (not metered) — the get_store_emails call that produced the id already counted the store.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"domain": "<domain>",
"emailId": "<emailId>"
},
"name": "get_store_email"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | The store domain the email belongs to. | |
| emailId | Yes | An email id returned by get_store_emails. | |
| includeHtml | No | Include the email's sanitized HTML source (htmlBody). Only set when re-rendering the email visually — it's a large blob of raw HTML; the plain-text body is better for reading. |