# Welcome

## What is Mailhub ? <a href="#what-is-mailwind" id="what-is-mailwind"></a>

Mailhub is an email API service that allows you to send emails easily and efficiently, with tools specifically designed to meet the needs of a development team.

## Why use Mailhub ? <a href="#why-use-mailwind" id="why-use-mailwind"></a>

* A simple API and clear, concise documentation!
* Automatic conversion of Tailwind templates into email-compatible HTML.
* A code editor for easy navigation through your files and folders
* A tracking system to monitor the performance of your campaigns.
* A multilanguage system for easy multilingual versions
* *And much more... (soon)*

## How does it work ? <a href="#how-does-it-work" id="how-does-it-work"></a>

Mailhub is, on one hand, a simple-to-use API for sending your emails. The API is essentially the same as for competing services such as Resend, Sendgrid, SES, etc. On the other hand, Mailhub is an interface that allows your team to edit, test, collaborate, track, and monitor your emails using various tools mentioned above.

## Things to know <a href="#things-to-know" id="things-to-know"></a>

### Template creation & modification <a href="#template-creation-and-modification" id="template-creation-and-modification"></a>

To make your e-mails more attractive, Mailhub has developed a solution for creating layouts using [Tailwind](https://tailwindcss.com/).

### **Two types of layouts**

Mailwind works with layouts & pages.

Both types can be used in the same way. The only difference is that layouts are "parent" to pages. So you can create the common structure for all your emails in a Layout and then use different templates for each specific email.

You can edit layouts via [the code editor](https://mailhub.sh/editing)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://documentation.mailhub.sh/welcome.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
