> For the complete documentation index, see [llms.txt](https://docs.mailtrap.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mailtrap.io/email-api-smtp/overview.md).

# Overview

Mailtrap Email API/SMTP lets you send transactional and bulk emails. Integrate with the Email Sending API or SMTP.

### Choose a sending stream

Choose a stream based on the email type:

* **Transactional Stream** sends automated, non-promotional emails. Examples include password resets and order confirmations.
* [**Bulk Stream**](/email-api-smtp/setup/bulk-stream.md) sends marketing campaigns to many recipients. Examples include newsletters and promotions.

### Choose an integration method

Use the method that fits your application:

* [**Email Sending API**](/email-api-smtp/setup/api-integration.md) sends emails through authenticated HTTP requests and supported SDKs.
* [**SMTP**](/email-api-smtp/setup/smtp-integration.md) works with existing email clients and libraries.

Both methods support Mailtrap Email Logs and analytics.

### Get started

{% columns %}
{% column %}
**Set up sending**

* [Set up a sending domain](/email-api-smtp/setup/sending-domain.md)
* [Integrate with the Email Sending API](/email-api-smtp/setup/api-integration.md)
* [Integrate with SMTP](/email-api-smtp/setup/smtp-integration.md)
* [Warm up an IP address](/email-api-smtp/deliverability/ip-warmup.md)
  {% endcolumn %}

{% column %}
**Manage email sending**

* [Create email templates](/email-api-smtp/email-templates.md)
* [Review analytics and reports](/email-api-smtp/analytics.md)
* [Configure deliverability features](/email-api-smtp/deliverability.md)
* [Read the deliverability guide](https://mailtrap.io/email-deliverability-guide/)
  {% endcolumn %}
  {% endcolumns %}

### Support and resources

<a href="https://docs.mailtrap.io/developers" class="button primary" data-icon="books">API Reference</a> <a href="/pages/9lQ5YuKcxQlKDNpnu1l1" class="button primary" data-icon="messages-question">FAQs</a> <a href="/pages/aVNz9W4lS1GqR4PQjB5K" class="button primary" data-icon="screwdriver-wrench">Troubleshooting</a> <a href="mailto:support@mailtrap.io" class="button primary" data-icon="envelope">Contact Support</a>

### Next steps

{% stepper %}
{% step %}
[Setup & Configuration](/email-api-smtp/setup.md)

*Set up your sending domain*
{% endstep %}

{% step %}
[API Integration](/email-api-smtp/setup/api-integration.md)

*Integrate with the Email Sending API*
{% endstep %}

{% step %}
[Email Templates](/email-api-smtp/email-templates.md)

*Create reusable email templates*
{% endstep %}

{% step %}
[Analytics & Reports](/email-api-smtp/analytics.md)

*Review your email metrics*
{% endstep %}
{% endstepper %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.mailtrap.io/email-api-smtp/overview.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
