> 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/advanced.md).

# Advanced Features

Take your email sending to the next level with Mailtrap's advanced features. These tools are designed for power users who need more control over their email infrastructure and want to optimize their sending patterns.

## Features Overview

<table data-card-size="large" data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>Custom Variables</strong></td><td><em>Add custom metadata to your emails for advanced tracking and segmentation. Pass through data that helps you analyze email performance in your own systems.</em></td><td><a href="/pages/6t2fFq4Vg7N8JiILVvoC">/pages/6t2fFq4Vg7N8JiILVvoC</a></td></tr><tr><td><strong>Excluding Links from Tracking</strong></td><td><em>Have sensitive links that shouldn't be tracked? Learn how to exclude specific URLs from click tracking while maintaining analytics for other links.</em></td><td><a href="/pages/TeFDW8F3aC3EvpRELMBt">/pages/TeFDW8F3aC3EvpRELMBt</a></td></tr><tr><td><strong>Auto BCC</strong></td><td><em>Automatically send blind carbon copies of all emails to a specified address for compliance and monitoring purposes.</em></td><td><a href="/pages/6mmsqYWko83ICxcIX2Ky">/pages/6mmsqYWko83ICxcIX2Ky</a></td></tr><tr><td><strong>Webhooks</strong></td><td><em>Webhooks allow you to receive all information about your deliverability and activities within your account almost in real-time.</em></td><td><a href="/pages/Dl74qfb1R9yDJ3NTOvcs">/pages/Dl74qfb1R9yDJ3NTOvcs</a></td></tr></tbody></table>


---

# 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/advanced.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.
