# CI email tests

Connect setup, application delivery, assertions and scoped cleanup.

<a id="guide-content"></a>



Install a [reviewed client](https://www.inboxspec.com/docs/markdown/installation.md) before adding these steps to your test runner.

1.  [Check configuration and permissions](https://www.inboxspec.com/docs/markdown/troubleshooting.md)
2.  [Ensure isolated fixtures](https://www.inboxspec.com/docs/markdown/fixtures.md)
3.  [Trigger your app and assert the correlated email](https://www.inboxspec.com/docs/markdown/otp-tests.md)
4.  [Clean up after the test](https://www.inboxspec.com/docs/markdown/cleanup.md#fixture-cleanup)

<a id="reliable-ci-email-tests"></a>

## Reliable CI email tests

Set up fixtures, trigger your application, wait for one correlated message, then clean up the exact run. Setup readiness checks authentication and inbox provisioning; it does not prove that your application sent mail.
