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

# Built-in Prompts

> Pre-configured AI templates to compose newsletters and transactional emails ready for Mailofly.

# Built-in MCP Prompts

MCP Prompts provide turnkey workflows that guide your AI assistant through multi-step email drafting tasks while adhering to email design best practices (deliverability, mobile responsiveness, and spam filter avoidance).

***

## 1. `compose-newsletter`

Interactive prompt to turn rough notes or announcement points into an engaging, mobile-responsive email newsletter.

### Arguments

| Argument | Type | Description |
| :- | :- | :- |
| `topic` | `string` | The primary theme or topic of the newsletter. |
| `audience` | `string` *(optional)* | Target audience description (e.g. `"Enterprise CTOs"`). |
| `tone` | `string` *(optional)* | Desired tone (e.g. `"friendly and technical"`, `"casual"`). |

### What It Generates

1. **Three Subject Line Options**: Catchy, direct, and emoji-enhanced options.
2. **Preheader Preview Text**: Optimized for mobile notification shades.
3. **Structured Body**: Opening hook, feature highlight, and a single prominent CTA button.
4. **Responsive HTML & Plain Text**: Valid semantic markup tested across email clients.
5. **Direct Dispatch Instructions**: Ready to dispatch immediately via `mailofly_create_campaign` or `mailofly_send_email`.

***

## 2. `compose-transactional`

Interactive prompt to design high-deliverability transactional emails.

### Arguments

| Argument | Type | Description |
| :- | :- | :- |
| `type` | `welcome \| password_reset \| receipt \| account_alert` | The purpose of the message. |
| `appName` | `string` | The name of your application or company. |
| `recipientName` | `string` *(optional)* | Name placeholder (default: `"Customer"`). |

### What It Generates

* Clean, minimal HTML design with inline CSS.
* Security-focused layout with official footer support links.
* Matching plain-text fallback.
* Code snippet to dispatch the result via `@mailofly/node` or the `mailofly_send_email` MCP tool.


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