# MailCraft Studio | Free HTML Email Editor and Preview

> Write HTML email, preview it instantly in Gmail, Outlook, Apple Mail, Yahoo and Samsung Mail, and export it as C# or Node.js code. The editor is free with no sign-up; a free account saves templates, sends test emails and connects AI agents over MCP and an API.

Source: https://mailcraftstudio.com/en

Free HTML email editor

# Make your email look the same in every inbox.

Write your HTML, see it instantly in Gmail, Outlook, Apple Mail, Yahoo and Samsung Mail, find out what will break in Outlook and Gmail before you send, and turn it into C# or Node.js code in one click.

[Open the editor](https://mailcraftstudio.com/en/editor) [MCP for agents](https://mailcraftstudio.com/en/agents)

The editor works without signing up. A free account adds synced templates, test emails and MCP.

## From draft to send in three steps

1.  ### Write
    
    Write HTML in the Monaco code editor or paste an existing template. Keep several templates open in tabs; changes are saved in your browser.
    
2.  ### Preview and check
    
    See the same email in 5 desktop clients and in iPhone, Pixel and Galaxy frames, in light and dark themes. The compatibility check reports Outlook issues and Gmail clipping one by one.
    
3.  ### Export
    
    Copy the finished template as a C# ($@"…") string or a Node.js template literal and paste it into your sending code.
    

## Clients and devices we preview

Each with its own header, sender row and theme.

### Desktop

-   Gmail
-   Outlook
-   Apple Mail
-   Yahoo Mail
-   Yandex Mail

### Mobile

-   Gmail iPhone 15 Pro
-   Apple Mail iPhone 15 Pro
-   Samsung Mail Galaxy S24 Ultra
-   Gmail Pixel 8 Pro

## Know what breaks in Outlook before you send

The compatibility check scans your HTML and lists every problem with the affected clients and a concrete fix. The report below is the real output for a small sample that uses flexbox and a script.

```
<div style="display:flex;gap:12px">
  <img src="logo.png">
  <script>track()</script>
</div>
```

-   Error
    
    <script> elements are removed by every email client.
    
    Remove scripts; email cannot run JavaScript. Use links to a web page for interactive content.
    
    All clients
    
-   Warning
    
    Flexbox and grid are ignored by Outlook for Windows (Word rendering engine).
    
    Use table-based columns, optionally with an MSO conditional ghost table.
    
    Outlook (Windows)
    
-   Warning
    
    Images without alt text show nothing when images are blocked, and screen readers skip them.
    
    Add a short, descriptive alt attribute (alt="" for purely decorative images).
    
    Outlook (Windows), Gmail, Screen readers
    
-   Info
    
    Images without a width attribute can render at their full pixel size in Outlook for Windows.
    
    Add a width attribute (in pixels) to every <img>.
    
    Outlook (Windows)
    
-   Info
    
    No <!DOCTYPE>; some clients fall back to quirks mode.
    
    Start the document with <!DOCTYPE html>.
    
    Apple Mail, Outlook.com
    
-   Info
    
    No viewport meta tag; mobile clients may zoom the email out.
    
    Add <meta name="viewport" content="width=device-width, initial-scale=1">.
    
    Apple Mail (iOS), Samsung Email
    

## Code ready for your backend

Real conversion output for the sample template. In C# quotes are doubled and CSS braces escaped; in Node.js backticks are preserved.

C#

```
$@"<!DOCTYPE html>
<html lang=""en"">
  <head>
    <meta charset=""utf-8"">
    <meta name=""viewport"" content=""width=device-width, initial-scale=1"">
    <title>
      Your order is on its way
    </title>
  </head>
  <body style=""margin:0;padding:0;background:#eef2f7;"">
    <table role=""presentation"" width=""100%"" cellpadding=""0"" cellspacing=""0"" style=""background:#eef2f7;"">
      <tr>
        <td align=""center"" style=""padding:24px 12px;"">
          <table role=""presentation"" width=""560"" cellpadding=""0"" cellspacing=""0"" style=""width:100%;max-width:560px;background:#ffffff;border-radius:10px;font-family:Arial,Helvetica,sans-serif;color:#14213a;"">
            <tr>
              <td style=""height:6px;background:#3566b0;border-radius:10px 10px 0 0;"">
              </td>
            </tr>
            <tr>
              <td style=""padding:28px 28px 8px;"">
                <h1 style=""margin:0 0 12px;font-size:22px;line-height:1.3;"">
                  Your order is on its way
                </h1>
                <p style=""margin:0;font-size:15px;line-height:1.6;color:#4b5970;"">
                  Hi {customer.name}, order #{order.no} has shipped.
                </p>
              </td>
            </tr>
            <tr>
              <td style=""padding:16px 28px;"">
                <table role=""presentation"" width=""100%"" cellpadding=""0"" cellspacing=""0"" style=""background:#f4f7fa;border-radius:8px;"">
                  <tr>
                    <td style=""padding:14px 16px;font-size:13px;color:#4b5970;"">
                      Estimated delivery
                      <br>
                      <strong style=""font-size:16px;color:#14213a;"">
                        {order.eta}
                      </strong>
                    </td>
                  </tr>
                </table>
              </td>
            </tr>
            <tr>
              <td style=""padding:8px 28px 28px;"">
                <a href=""{order.trackingUrl}"" style=""display:inline-block;background:#3566b0;color:#ffffff;text-decoration:none;font-weight:bold;font-size:15px;padding:12px 20px;border-radius:6px;"">
                  Track your package
                </a>
              </td>
            </tr>
            <tr>
              <td style=""padding:16px 28px 24px;border-top:1px solid #e3e8ef;font-size:12px;color:#8592a6;"">
                You received this email because you placed an order.
              </td>
            </tr>
          </table>
        </td>
      </tr>
    </table>
  </body>
</html>"
```

Node.js

```
export const mailTemplate = `
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>
      Your order is on its way
    </title>
  </head>
  <body style="margin:0;padding:0;background:#eef2f7;">
    <table role="presentation" width="100%" cellpadding="0" cellspacing="0" style="background:#eef2f7;">
      <tr>
        <td align="center" style="padding:24px 12px;">
          <table role="presentation" width="560" cellpadding="0" cellspacing="0" style="width:100%;max-width:560px;background:#ffffff;border-radius:10px;font-family:Arial,Helvetica,sans-serif;color:#14213a;">
            <tr>
              <td style="height:6px;background:#3566b0;border-radius:10px 10px 0 0;">
              </td>
            </tr>
            <tr>
              <td style="padding:28px 28px 8px;">
                <h1 style="margin:0 0 12px;font-size:22px;line-height:1.3;">
                  Your order is on its way
                </h1>
                <p style="margin:0;font-size:15px;line-height:1.6;color:#4b5970;">
                  Hi {customer.name}, order #{order.no} has shipped.
                </p>
              </td>
            </tr>
            <tr>
              <td style="padding:16px 28px;">
                <table role="presentation" width="100%" cellpadding="0" cellspacing="0" style="background:#f4f7fa;border-radius:8px;">
                  <tr>
                    <td style="padding:14px 16px;font-size:13px;color:#4b5970;">
                      Estimated delivery
                      <br>
                      <strong style="font-size:16px;color:#14213a;">
                        {order.eta}
                      </strong>
                    </td>
                  </tr>
                </table>
              </td>
            </tr>
            <tr>
              <td style="padding:8px 28px 28px;">
                <a href="{order.trackingUrl}" style="display:inline-block;background:#3566b0;color:#ffffff;text-decoration:none;font-weight:bold;font-size:15px;padding:12px 20px;border-radius:6px;">
                  Track your package
                </a>
              </td>
            </tr>
            <tr>
              <td style="padding:16px 28px 24px;border-top:1px solid #e3e8ef;font-size:12px;color:#8592a6;">
                You received this email because you placed an order.
              </td>
            </tr>
          </table>
        </td>
      </tr>
    </table>
  </body>
</html>
`;
```

## Built for AI agents too

Claude, ChatGPT, Cursor or your own agent can check an email, hand the user a preview link and convert it to code through a key-free MCP server and REST API.

[Setup and API](https://mailcraftstudio.com/en/agents)

```
claude mcp add --transport http mailcraft \
  https://mailcraftstudio.com/mcp

curl -X POST https://mailcraftstudio.com/api/v1/check \
  -H "content-type: application/json" \
  -d '{"html": "<table>...</table>"}'
```

## Start from a ready-made template

Free, table-based templates that hold up in Outlook and Gmail. Open one in the editor, change the copy, send.

-   [**Welcome email**Sign-up, account creation, trial start](https://mailcraftstudio.com/en/templates/welcome)
-   [**Verification code email**Email verification, two-step login, passwordless sign-in](https://mailcraftstudio.com/en/templates/verification-code)
-   [**Password reset email**Forgot-password flow](https://mailcraftstudio.com/en/templates/password-reset)
-   [**Order confirmation and receipt**E-commerce order confirmation, invoice summary](https://mailcraftstudio.com/en/templates/order-receipt)
-   [**Order shipped email**Shipping notification, delivery tracking](https://mailcraftstudio.com/en/templates/order-shipped)
-   [**Newsletter email**Monthly newsletter, product updates](https://mailcraftstudio.com/en/templates/newsletter)

[All templates](https://mailcraftstudio.com/en/templates)

## Frequently asked questions

Is MailCraft Studio free?

Yes. The editor, previews, compatibility check and export work without signing up. A free account lets you save templates, send 5 test emails a day and use the API and MCP server. Sign up with Google, GitHub, Apple or an email code.

Where are my templates stored?

Without signing in, only in your browser's localStorage. Once signed in, templates you save are stored in your account and open on every device; you can download all of them or delete them with your account from the account page. Share links carry the template in the part of the URL after #, which browsers never send to a server.

Are previews rendered by the real email clients?

The email is rendered by your browser's engine, and each client's interface, colors and screen width are simulated. Outlook for Windows' Word engine is not emulated exactly, so the compatibility check separately reports CSS that engine does not support.

Why does Gmail clip my email?

Gmail clips messages whose HTML is larger than 102 KB and hides the rest behind a "View entire message" link. The compatibility check flags HTML over that limit as an error, and minifying usually brings it back under.

What does the C# and Node.js output look like?

For C#, a $@"…" string with doubled quotes and escaped CSS braces; for Node.js, an exported template literal. The output panel is editable and edits flow back into the HTML.

Can I send a test email to myself?

Yes, once you sign in. The Test button in the editor sends the template as a real email to your account address. Each account can send 5 test emails a day, and only to its own address.

How do AI agents use MailCraft Studio?

Through the MCP server at https://mailcraftstudio.com/mcp or the REST API under /api/v1 with a free account. MCP clients open the sign-in screen when connecting (OAuth); for the REST API, create a key on the account page. Tools: compatibility check, preview link, C#/Node.js conversion, minify, format, saved templates and test emails to the account address.

## Build your next email here.

[Open the editor](https://mailcraftstudio.com/en/editor)
