> 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-sandbox.md).

# Email Sandbox

- [Overview](https://docs.mailtrap.io/email-sandbox/overview.md): Test and preview emails safely in a sandbox environment before sending to production
- [Setup & Configuration](https://docs.mailtrap.io/email-sandbox/setup.md): Get Email Sandbox configured and integrated with your application
- [Sandbox SMTP integration](https://docs.mailtrap.io/email-sandbox/setup/sandbox-smtp-integration.md): Learn how to integrate sandbox with your application using SMTP credentials or code samples
- [Sandbox API integration](https://docs.mailtrap.io/email-sandbox/setup/sandbox-api-integration.md): Learn how to use the Sandbox API to automate testing and manage email sandboxes programmatically.
- [Email address per Sandbox](https://docs.mailtrap.io/email-sandbox/setup/email-address-per-sandbox.md): Use a dedicated customizable email address for each sandbox to send test messages without SMTP integration.
- [Testing features](https://docs.mailtrap.io/email-sandbox/testing.md): Comprehensive email testing tools for quality assurance
- [Email Template Inspector](https://docs.mailtrap.io/email-sandbox/testing/email-template.md): Check email content, validate HTML code, and verify text versions of your message.
- [HTML Check](https://docs.mailtrap.io/email-sandbox/testing/email-html.md): Learn how HTML Check scans your email for problematic elements and provides market support scores.
- [Email Headers and Bcc](https://docs.mailtrap.io/email-sandbox/testing/email-headers-and-bcc.md): Learn how to verify email headers including Subject, From, To, and Bcc fields.
- [Spam & Blacklist reports](https://docs.mailtrap.io/email-sandbox/testing/spam-blacklist-reports.md): Learn how to check spam score and blacklisting to ensure email deliverability
- [Bounce Emulator](https://docs.mailtrap.io/email-sandbox/testing/bounce-rate.md): Learn how to test your SMTP client's behavior when the server responds with an error
- [Load Testing](https://docs.mailtrap.io/email-sandbox/testing/load-testing.md): Test your email application at scale using the Sandbox Enterprise plan with up to 150 emails per 10 seconds across 300 sandboxes
- [Device Previews](https://docs.mailtrap.io/email-sandbox/testing/device-previews.md): Preview on Devices renders any captured email across a catalog of real email clients and devices - Gmail, Outlook, Apple Mail, mobile clients, and more.
- [Sandbox management](https://docs.mailtrap.io/email-sandbox/management.md): Manage and organize emails in your sandbox effectively
- [Searching messages](https://docs.mailtrap.io/email-sandbox/management/searching-messages.md): Search for emails in your sandbox by subject, recipient address, or recipient name
- [Automatic forwarding](https://docs.mailtrap.io/email-sandbox/management/automatic-email-forwarding.md): Forward emails from the sandbox to any inbox automatically for testing in different clients and notifying colleagues.
- [Manual forwarding](https://docs.mailtrap.io/email-sandbox/management/manual-email-forwarding.md): Forward individual emails from sandbox to any inbox for testing in different clients or notifying colleagues.
- [Collaboration](https://docs.mailtrap.io/email-sandbox/collaboration.md): Team features for collaborative email testing
- [Sharing Sandboxes](https://docs.mailtrap.io/email-sandbox/collaboration/sharing-sandboxes.md): Share individual sandboxes with team members for collaborative email testing.
- [Sharing Projects](https://docs.mailtrap.io/email-sandbox/collaboration/sharing-projects.md): Organize and share projects to collaborate with team members on email testing.
- [Mailtrap Local](https://docs.mailtrap.io/email-sandbox/local.md): Mailtrap Local is a free, open-source email sandbox for local email testing. Capture, inspect, and debug emails offline with SMTP, web UI, and REST API.
- [Features and limits](https://docs.mailtrap.io/email-sandbox/features-and-limits.md): All Mailtrap features and possible limits explained
- [Troubleshooting](https://docs.mailtrap.io/email-sandbox/troubleshooting.md): Common issues and solutions for Email Sandbox
- [Sandbox glossary](https://docs.mailtrap.io/email-sandbox/glossary.md): Common terms and definitions for Email Sandbox features and protocols


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.mailtrap.io/email-sandbox.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
