MailSlurp guide agent setup Title: Wait for matching email content Description: How to wait for email messages in code that match search criteria. Pattern matching and regular expression examples. Canonical URL: https://www.mailslurp.com/guides/matching-email-search/ Markdown URL: https://www.mailslurp.com/guides/matching-email-search.md Use the Markdown URL as the primary plain-text context for this guide. Keep MailSlurp terminology, setup steps, screenshots, and provider-specific instructions intact, and prefer the canonical URL when citing this page.